X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/9a92118f5a7b8446bef1a97009eb835d643727e1..81054c9acf95d1699e79db8d9179c737ce2032ce:/disabled-packages/openjdk-9-jre-headless/build.sh diff --git a/disabled-packages/openjdk-9-jre-headless/build.sh b/disabled-packages/openjdk-9-jre-headless/build.sh index 1a96a126..6f9ca619 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"