summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-03-20 21:05:15 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-21 08:38:03 +0100
commitd9c75ac6f5e34e7178b392cfe0b1ef4666731944 (patch)
tree55487b1a9f7925f6f296fcc8cac87c5b0c74cce3 /config
parent315794be902640d7950c2b0705a69fef787eadb4 (diff)
downloadptxdist-d9c75ac6f5e34e7178b392cfe0b1ef4666731944.tar.gz
ptxdist-d9c75ac6f5e34e7178b392cfe0b1ef4666731944.tar.xz
meson: never try to execute something
Without a exe_wrapper meson tries to guess if it can execute binaries. Explicitly set that a wrapper is needed to avoid this autodetection. Cross binaries should never be executed even if the architecture matches. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'config')
-rw-r--r--config/meson/cross-file.meson.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/meson/cross-file.meson.in b/config/meson/cross-file.meson.in
index b2861254a..b1ab93f96 100644
--- a/config/meson/cross-file.meson.in
+++ b/config/meson/cross-file.meson.in
@@ -5,6 +5,9 @@ ar = '@AR@'
strip = '@STRIP@'
pkgconfig = '@PKG_CONFIG@'
+[properties]
+needs_exe_wrapper = true
+
[host_machine]
system = 'linux'
cpu_family = '@PTXCONF_ARCH_STRING@'