aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2026-04-27 04:44:23 +0200
committerNIIBE Yutaka <[email protected]>2026-04-27 04:44:23 +0200
commit15ccba67c50fdb3db93ba0162e4cedc47921c2f8 (patch)
tree56c4fce49b466aee379eb0b8098d901a20639b24
parentPost release updates (diff)
downloadlibgpg-error-15ccba67c50fdb3db93ba0162e4cedc47921c2f8.tar.gz
libgpg-error-15ccba67c50fdb3db93ba0162e4cedc47921c2f8.zip
build: Add cross compile support for wasm*-*-emscripten target.
* configure.ac: Add wasm*-*-emscripten target to generate lock-obj-pub.native.h. -- Reported-by: Clément Péron <[email protected]> Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7130df0..392336a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -632,7 +632,7 @@ if test x"$gl_use_threads" = xno; then
AC_MSG_NOTICE([generated src/lock-obj-pub.native.h for $host])
elif test x$cross_compiling = xyes; then
case $host in
- *-*-gnu* | *-*-linux-gnu* | *-*-linux-musl*)
+ *-*-gnu* | *-*-linux-gnu* | *-*-linux-musl* | wasm*-*-emscripten)
AC_CHECK_TOOL(OBJDUMP, [objdump])
if test -n "$OBJDUMP"; then
lock_obj_h_generated=yes