From fb2ebfda66cccdb54ebf049e9c18b0d446a38803 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Tue, 19 Nov 2024 00:25:14 +0000 Subject: [PATCH] fix weekly builds --- scripts/android/libiconv.sh | 13 +++++++++++-- scripts/apple/libogg.sh | 3 --- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/scripts/android/libiconv.sh b/scripts/android/libiconv.sh index 15535c7c..545c134a 100755 --- a/scripts/android/libiconv.sh +++ b/scripts/android/libiconv.sh @@ -1,8 +1,17 @@ #!/bin/bash -# INIT SUBMODULES +# FIX HARD-CODED PATHS ${SED_INLINE} 's|git://git.savannah.gnu.org|https://github.com/arthenica|g' "${BASEDIR}"/src/"${LIB_NAME}"/.gitmodules || return 1 -./gitsub.sh pull || return 1 +ln -s -f $(which aclocal) ${BASEDIR}/.tmp/aclocal-1.16 +ln -s -f $(which automake) ${BASEDIR}/.tmp/automake-1.16 +PATH="${BASEDIR}/.tmp":$PATH + +if [[ ! -d "${BASEDIR}"/src/"${LIB_NAME}"/gnulib ]]; then + + # INIT SUBMODULES + ./gitsub.sh pull || return 1 + ./gitsub.sh checkout gnulib 485d983b7795548fb32b12fbe8370d40789e88c4 || return 1 +fi # ALWAYS CLEAN THE PREVIOUS BUILD make distclean 2>/dev/null 1>/dev/null diff --git a/scripts/apple/libogg.sh b/scripts/apple/libogg.sh index 13f00515..5e325643 100755 --- a/scripts/apple/libogg.sh +++ b/scripts/apple/libogg.sh @@ -8,9 +8,6 @@ if [[ ! -f "${BASEDIR}"/src/"${LIB_NAME}"/configure ]] || [[ ${RECONF_libogg} -e autoreconf_library "${LIB_NAME}" 1>>"${BASEDIR}"/build.log 2>&1 || return 1 fi -# FIX INCLUDE PATHS -${SED_INLINE} 's/sys\/types/stdint/g' ${BASEDIR}/src/libogg/include/ogg/os_types.h - ./configure \ --prefix="${LIB_INSTALL_PREFIX}" \ --with-pic \