Do not quote targetdep, Ninja fails if it contains double quotes.

pull/5532/head
Jussi Pakkanen 5 years ago
parent d35d7ccad1
commit 49e9e0179c
  1. 2
      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

Loading…
Cancel
Save