aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-05-17 15:23:33 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-05-17 15:23:33 +0300
commitcf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1 (patch)
treefe71b0ec3339397e9befba3d808774671d757fc2 /ninjabackend.py
parentd83de3ee56beb0df45086275b35d55f423071581 (diff)
downloadmeson-cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1.zip
meson-cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1.tar.gz
meson-cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1.tar.bz2
Do not invoke linker via cmd /c on Windows.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 33ed6d9..f3e8587 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -777,9 +777,8 @@ class NinjaBackend(backends.Backend):
if is_cross:
crstr = '_CROSS'
rule = 'rule %s%s_LINKER\n' % (langname, crstr)
- command = ' command = %s %s $ARGS %s $in $LINK_ARGS $aliasing\n' % \
- (execute_wrapper,
- ' '.join(compiler.get_linker_exelist()),\
+ command = ' command = %s $ARGS %s $in $LINK_ARGS $aliasing\n' % \
+ (' '.join(compiler.get_linker_exelist()),\
' '.join(compiler.get_linker_output_args('$out')))
description = ' description = Linking target $out'
outfile.write(rule)