aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 7c83ed6..d21c6cc 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -908,6 +908,9 @@ class CrossBuildInfo:
return 'host_machine' in self.config
def need_exe_wrapper(self):
+ value = self.config['properties'].get('needs_exe_wrapper', None)
+ if value is not None:
+ return value
# Can almost always run 32-bit binaries on 64-bit natively if the host
# and build systems are the same. We don't pass any compilers to
# detect_cpu_family() here because we always want to know the OS