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

Ben Kibbey <[email protected]> Fri, 18 Jul 2025 18:04:07 -0700
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
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