| commit | 01bef327f81ebfc3e748879663b49bfe6952527c | [log] [tgz] |
|---|---|---|
| author | Jussi Pakkanen <jpakkane@gmail.com> | Wed Apr 14 23:07:04 2021 +0300 |
| committer | Jussi Pakkanen <jpakkane@gmail.com> | Wed Apr 14 23:07:04 2021 +0300 |
| tree | daa722a0395ccbd06f5073ea3d574fd97e99383e | |
| parent | b85f7d15fd023a456a0562b8d28ab6b5abc17223 [diff] |
Xcode: this is what happens when you do not treat command lines as arrays.
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 @@ if args: quoted_args = [] for a in args: + a = a.replace(r'"', r'\\\"') if ' ' in a: a = r'\"' + a + r'\"' quoted_args.append(a)