[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.
This commit is contained in:
atsushieno 2021-06-08 15:58:50 +09:00
parent ea2a824383
commit 0635766f85
1 changed files with 2 additions and 1 deletions

View File

@ -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 \