From 9a9139c47c71cfedbca48b6de811cb0e819a1920 Mon Sep 17 00:00:00 2001 From: "Stephan Guilloux (home)" Date: Thu, 13 Oct 2022 22:30:36 +0200 Subject: [PATCH] Problem: Sync with zproject (Android build system needs some debug (./configure options)). Solution: Regenerate ZYRE with this commit. --- builds/android/android_build_helper.sh | 10 ++++++++++ builds/android/build.sh | 12 ++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/builds/android/android_build_helper.sh b/builds/android/android_build_helper.sh index e918dc58..e3da77b4 100755 --- a/builds/android/android_build_helper.sh +++ b/builds/android/android_build_helper.sh @@ -310,6 +310,16 @@ function android_build_verify_so { android_build_check_fail } +function android_show_configure_opts { + local tag=$1 + shift + echo "ZYRE (${BUILD_ARCH}) - ./configure options to build '${tag}':" + for opt in "$@"; do + echo " > ${opt}" + done + echo "" +} + ################################################################################ # THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # # Read the zproject/README.md for information about making permanent changes. # diff --git a/builds/android/build.sh b/builds/android/build.sh index e5eeb215..5b62df41 100755 --- a/builds/android/build.sh +++ b/builds/android/build.sh @@ -113,8 +113,16 @@ fi export LIBTOOL_EXTRA_LDFLAGS='-avoid-version' - (cd "${cache}/zyre" && $CI_TIME ./autogen.sh 2> /dev/null \ - && $CI_TIME ./configure --quiet "${ANDROID_BUILD_OPTS[@]}" --without-docs \ + ( + CONFIG_OPTS=() + CONFIG_OPTS+=("--quiet") + CONFIG_OPTS+=("${ANDROID_BUILD_OPTS[@]}") + CONFIG_OPTS+=("--without-docs") + + cd "${cache}/zyre" \ + && $CI_TIME ./autogen.sh 2> /dev/null \ + && android_show_configure_opts "LIBZYRE" "${CONFIG_OPTS[@]}" \ + && $CI_TIME ./configure "${CONFIG_OPTS[@]}" \ && $CI_TIME make -j 4 \ && $CI_TIME make install) || exit 1 }