From 01bef327f81ebfc3e748879663b49bfe6952527c 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(+) diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index cbc478a..3ddf1cd 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1256,6 +1256,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