From 49e9e0179ce33cd4c99309912ea71dfd3460a714 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 21 Jun 2019 06:06:17 -0700 Subject: Do not quote targetdep, Ninja fails if it contains double quotes. --- mesonbuild/backend/ninjabackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild') diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index d69019b..1e132b5 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 -- cgit v1.1