summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-06-21 06:06:17 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2019-06-21 17:07:21 +0300
commit49e9e0179ce33cd4c99309912ea71dfd3460a714 (patch)
tree31dff584cbe0444a7617d9d0037ee773bfd2a8de
parentd35d7ccad1d027be46e02f653c43c7f1dee0ba86 (diff)
downloadmeson-49e9e0179ce33cd4c99309912ea71dfd3460a714.tar.gz
Do not quote targetdep, Ninja fails if it contains double quotes.
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index d69019b29..1e132b5b1 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -171,7 +171,7 @@ class NinjaBuildElement:
# ninja variables (or variables we use them in) is interpreted directly
# by ninja (e.g. the value of the depfile variable is a pathname that
# ninja will read from, etc.), so it must not be shell quoted.
- raw_names = {'DEPFILE', 'DESC', 'pool', 'description'}
+ raw_names = {'DEPFILE', 'DESC', 'pool', 'description', 'targetdep'}
for e in self.elems:
(name, elems) = e