diff options
-rw-r--r-- | ninjabackend.py | 2 |
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))] |