summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRong Fu <rong.fu.cn@windriver.com>2026-04-27 14:20:20 +0800
committerJoshua Watt <JPEWhacker@gmail.com>2026-05-28 15:51:47 -0600
commit3e8790a8a01c60c0eb1acddf19098e9212fd52d0 (patch)
tree912f4e903ba915d008e8dbe8aff42511692dc962
parent288fbe33efdcfceeab8d824128e24e22c309f856 (diff)
downloadmeta-mingw-master-next.tar.gz
mingw32-common.inc: disable meson exe wrapper for mingw targetsmaster-next
The meson bbclass uses qemu as an exe_wrapper to run cross-compiled binaries for sanity checks. However, qemu-i386 cannot execute Windows PE format executables (.exe), causing meson setup to fail with: Executables created by c compiler i686-w64-mingw32-gcc are not runnable. This affects all meson-based nativesdk recipes when SDKMACHINE is set to a mingw target (e.g. i686-mingw32), such as nativesdk-dtc. Disable EXEWRAPPER_ENABLED for mingw32 to skip the qemu exe wrapper since it is not functional for Windows targets. Signed-off-by: Rong Fu <rong.fu.cn@windriver.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
-rw-r--r--conf/machine-sdk/include/mingw32-common.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc
index bf3f14e..6014c51 100644
--- a/conf/machine-sdk/include/mingw32-common.inc
+++ b/conf/machine-sdk/include/mingw32-common.inc
@@ -57,6 +57,9 @@ DISABLE_STATIC:mingw32 = ""
57# disable security flags 57# disable security flags
58GCCPIE:mingw32 = "" 58GCCPIE:mingw32 = ""
59 59
60# qemu cannot run Windows PE executables, disable meson exe wrapper
61EXEWRAPPER_ENABLED:mingw32 = "False"
62
60# wine and wineserver are required to test MinGW SDKs 63# wine and wineserver are required to test MinGW SDKs
61HOSTTOOLS_NONFATAL += "wine wineserver" 64HOSTTOOLS_NONFATAL += "wine wineserver"
62 65