From 99325ee4e00e650b65f5ea85cda78019b29f02d9 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Sat, 26 Aug 2017 16:21:59 +1000 Subject: [PATCH] fixes x86_64 because it has lib64 in sysroot... --- disabled-packages/openjdk-9-jre-headless/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/disabled-packages/openjdk-9-jre-headless/build.sh b/disabled-packages/openjdk-9-jre-headless/build.sh index 1a96a1266..6f9ca6193 100644 --- a/disabled-packages/openjdk-9-jre-headless/build.sh +++ b/disabled-packages/openjdk-9-jre-headless/build.sh @@ -103,6 +103,11 @@ HERE rm $TERMUX_PKG_SRCDIR/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk } termux_step_configure () { + if [ $TERMUX_ARCH = "x86_64" ]; then + ln -sf $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib64/libc.so $TERMUX_PKG_TMPDIR/libpthread.so + else + ln -sf $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libc.so $TERMUX_PKG_TMPDIR/libpthread.so + fi ARM64="" if [ $TERMUX_ARCH = aarch64 ]; then export ARM64=" --with-cpu-port=arm64"