diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-05-31 16:34:28 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-06-13 18:48:35 +0000 |
commit | 1b7855c36d6ed40ef5bb5920e8c18b7b646809b0 (patch) | |
tree | 5ebe6bb4bb6a8c4d6225e6078ef2a5039fe3bb62 /mesonbuild/scripts/gtkdochelper.py | |
parent | bd7122beed23ad157b8bc389cc30ee16d9f13f0f (diff) | |
download | meson-1b7855c36d6ed40ef5bb5920e8c18b7b646809b0.zip meson-1b7855c36d6ed40ef5bb5920e8c18b7b646809b0.tar.gz meson-1b7855c36d6ed40ef5bb5920e8c18b7b646809b0.tar.bz2 |
Handle multiple substitutions in eval_custom_target_command()
Handle command arguments which contain multiple substitutions correctly
in Backend.eval_custom_target_command()
In particular, gnome.gtkdoc() makes arguments of the form '--cflags
-I@SOURCE_ROOT@ -I@BUILD_ROOT' (where these arguments are then passed
down to a compiler invocation)
Normally, these are subsequently made right by
NinjaBackend.replace_paths(), but if Backend.as_meson_exe_cmdline()
decides that the command needs to be pickled, that doesn't happen.
(Although having two places where this substitution might happen smells
really bad)
Diffstat (limited to 'mesonbuild/scripts/gtkdochelper.py')
0 files changed, 0 insertions, 0 deletions