fixes x86_64 because it has lib64 in sysroot...
This commit is contained in:
parent
2a6ef2bc2e
commit
99325ee4e0
@ -103,6 +103,11 @@ HERE
|
|||||||
rm $TERMUX_PKG_SRCDIR/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk
|
rm $TERMUX_PKG_SRCDIR/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk
|
||||||
}
|
}
|
||||||
termux_step_configure () {
|
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=""
|
ARM64=""
|
||||||
if [ $TERMUX_ARCH = aarch64 ]; then
|
if [ $TERMUX_ARCH = aarch64 ]; then
|
||||||
export ARM64=" --with-cpu-port=arm64"
|
export ARM64=" --with-cpu-port=arm64"
|
||||||
|
Loading…
Reference in New Issue
Block a user