interpretor: Fix typo in has_exe_wrapper

The function wasn't working at all because of this
This commit is contained in:
Nirbheek Chauhan 2016-05-24 14:30:36 +05:30
parent c9f16a4ab1
commit 7aad3ff658
1 changed files with 1 additions and 1 deletions

View File

@ -876,7 +876,7 @@ class MesonMain(InterpreterObject):
if self.is_cross_build_method(None, None) and \
'binaries' in self.build.environment.cross_info.config and \
self.build.environment.cross_info.need_exe_wrapper():
exe_wrap = self.build.environment.cross_info.config['binaries'].get('exe_wrap', None)
exe_wrap = self.build.environment.cross_info.config['binaries'].get('exe_wrapper', None)
if exe_wrap is None:
return False
# We return True when exe_wrap is defined, when it's not needed, and