From 39f963988b15312db1270f692646a636cac9211c Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 14 Apr 2021 23:07:04 +0300 Subject: Xcode: this is what happens when you do not treat command lines as arrays. --- mesonbuild/backend/xcodebackend.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mesonbuild/backend/xcodebackend.py') diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 98a38b8..4271748 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1249,6 +1249,7 @@ class XCodeBackend(backends.Backend): if args: quoted_args = [] for a in args: + a = a.replace(r'"', r'\\\"') if ' ' in a: a = r'\"' + a + r'\"' quoted_args.append(a) -- cgit v1.1