aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-06-14 22:40:12 +0300
committerGitHub <noreply@github.com>2016-06-14 22:40:12 +0300
commitf7eef79c0dd8adf74f79a85ca814f07c9beb4e29 (patch)
treee7346fa87322eaf4a2339469d64058ea127eda9c
parentddc4accca25eabd7ff537792934df7f9cc9a9e4c (diff)
parent7bd424fea6575580045858d63f579a493d73271b (diff)
downloadmeson-f7eef79c0dd8adf74f79a85ca814f07c9beb4e29.zip
meson-f7eef79c0dd8adf74f79a85ca814f07c9beb4e29.tar.gz
meson-f7eef79c0dd8adf74f79a85ca814f07c9beb4e29.tar.bz2
Merge pull request #591 from textshell/ninja-quote
ninjabackend: Add missing ninja_quote for cross compilation rule.
-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 b97d99e..b3f3f17 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1220,7 +1220,7 @@ rule FORTRAN_DEP_HACK
else:
command_template = ' command = %s %s $ARGS %s %s %s $in\n'
command = command_template % \
- (' '.join(compiler.get_exelist()),\
+ (' '.join([ninja_quote(i) for i in compiler.get_exelist()]),\
' '.join(cross_args),
' '.join(quoted_depargs),\
' '.join(compiler.get_output_args('$out')),\