pull/255/head^2
Jussi Pakkanen 9 years ago
parent 4e8c4035e5
commit 840acdd028
  1. 2
      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))]

Loading…
Cancel
Save