[PATCH Libgpg-error] Add Android support for cross-compilation.

Ben Kibbey bjk at luxsci.net
Sat Jul 19 03:04:07 CEST 2025


Hi all,

Wanted to be sure this wouldn't break anything and is the better option
rather than adding the lock-obj-pub to syscfg. 

diff --git a/configure.ac b/configure.ac
index 83a52a4..55e881d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -633,7 +633,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* | *linux-androideabi*)
     AC_CHECK_TOOL(OBJDUMP, [objdump])
     if test -n "$OBJDUMP"; then
       lock_obj_h_generated=yes

-- 
Ben Kibbey



More information about the Gnupg-devel mailing list