From 0635766f8516db3fd2b03d79454e48c1ae0896ff Mon Sep 17 00:00:00 2001 From: atsushieno Date: Tue, 8 Jun 2021 15:58:50 +0900 Subject: [PATCH] [test-android] fix gettext build in build.sh by distinct --host and --target. gettext is known as cause of problem for running host tool in target ABI in our builds, and the latest script still had the issue. https://github.com/atsushieno/aap-lv2-fluidsynth/actions/runs/914453645 This fixes the problem by explicitly specifying that the build host is x86_64 linux. If you want to reuse the script on other platforms, you have to edit it. --- test-android/build-scripts/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-android/build-scripts/build.sh b/test-android/build-scripts/build.sh index 7fedfe59..ddf9f388 100755 --- a/test-android/build-scripts/build.sh +++ b/test-android/build-scripts/build.sh @@ -82,7 +82,8 @@ set -ex pushd $DEV/gettext-$GETTEXT_VERSION ./configure \ - --host=$AUTOTOOLS_TARGET \ + --host=x86_64-pc-linux \ + --target=$AUTOTOOLS_TARGET \ --prefix=$PREFIX \ --libdir=$LIBPATH0 \ --disable-rpath \