aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-09-11 19:10:28 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-09-11 19:10:28 +0300
commit840acdd0284984f258987e37bc8cf6b8329a7d2e (patch)
treec84a9a6fdd462a4cae7667d5552953764493c4c1 /ninjabackend.py
parent4e8c4035e53dc2fca255b0e80f5e1390a8b40607 (diff)
downloadmeson-840acdd0284984f258987e37bc8cf6b8329a7d2e.zip
meson-840acdd0284984f258987e37bc8cf6b8329a7d2e.tar.gz
meson-840acdd0284984f258987e37bc8cf6b8329a7d2e.tar.bz2
Fix.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 3e15a31..337528f 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -331,7 +331,7 @@ class NinjaBackend(backends.Backend):
if isinstance(texe, build.Executable):
deps.append(self.get_target_filename(texe))
if self.environment.is_cross_build() \
- and wrapper is not self.environment.cross_info.config['binaries'].get('exe_wrapper', None):
+ and self.environment.cross_info.config['binaries'].get('exe_wrapper', None) is not None:
cmd += [self.environment.cross_info.config['binaries']['exe_wrapper'], self.get_target_filename(texe)]
else:
cmd += [os.path.join(self.environment.get_build_dir(), self.get_target_filename(texe))]