From 2264a22685fd750038c956b27d420efb3631c61b Mon Sep 17 00:00:00 2001 From: Viktor Vaczi Date: Sat, 29 Nov 2025 20:11:54 +0100 Subject: [PATCH] Fix wxrc build error by skipping native utilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add --without-subdirs flag to wxWidgets configure to prevent building utils/, samples/, and demos/ directories. These contain native applications like wxrc that shouldn't be cross-compiled to WASM. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- scripts/build-wxuniversal-wasm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build-wxuniversal-wasm.sh b/scripts/build-wxuniversal-wasm.sh index ff66e5d..5d2bfd8 100755 --- a/scripts/build-wxuniversal-wasm.sh +++ b/scripts/build-wxuniversal-wasm.sh @@ -73,6 +73,7 @@ export CXXFLAGS="-DZ_HAVE_UNISTD_H=1 -I$PCRE2_INCLUDE" emconfigure "$WX_SOURCE/configure" \ --host=emscripten \ + --without-subdirs \ --enable-universal \ --disable-shared \ --with-opengl \