summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-04-14 23:07:04 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-04-15 17:21:45 +0300
commit39f963988b15312db1270f692646a636cac9211c (patch)
tree51d7927f3b5175e12b44dd4cb3ccbf3ec53bc5ed
parent318d50270c231fa063b5be2a995b933fb69b852f (diff)
downloadmeson-39f963988b15312db1270f692646a636cac9211c.tar.gz
Xcode: this is what happens when you do not treat command lines as arrays.
-rw-r--r--mesonbuild/backend/xcodebackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index 98a38b8ee..42717481a 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)