|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html |
|
|
TERMUX_PKG_DESCRIPTION="Multilib binaries for cross-compilation" |
|
|
TERMUX_PKG_DESCRIPTION="Multilib binaries for cross-compilation" |
|
|
TERMUX_PKG_LICENSE="NCSA" |
|
|
TERMUX_PKG_LICENSE="NCSA" |
|
|
TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION |
|
|
TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION |
|
|
TERMUX_PKG_REVISION=3 |
|
|
TERMUX_PKG_REVISION=4 |
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true |
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true |
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true |
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true |
|
|
TERMUX_PKG_NO_STATICSPLIT=true |
|
|
TERMUX_PKG_NO_STATICSPLIT=true |
|
@ -22,8 +22,8 @@ prepare_libs() { |
|
|
cp $BASEDIR/*.o $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $BASEDIR/*.o $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $BASEDIR/lib{c,dl,log,m}.so $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $BASEDIR/lib{c,dl,log,m}.so $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $BASEDIR/lib{c,dl,m}.a $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $BASEDIR/lib{c,dl,m}.a $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/${SUFFIX}/libc++_shared.so $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/aarch64-linux-android/lib{c++_static,c++abi}.a $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/${SUFFIX}/lib{c++_static,c++abi}.a $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib |
|
|
echo 'INPUT(-lc++_static -lc++abi)' > $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib/libc++_shared.a |
|
|
echo 'INPUT(-lc++_static -lc++abi)' > $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib/libc++_shared.a |
|
|
|
|
|
|
|
|
LIBATOMIC=$NDK/toolchains/${NDK_SUFFIX}-*/prebuilt/linux-*/${SUFFIX}/lib |
|
|
LIBATOMIC=$NDK/toolchains/${NDK_SUFFIX}-*/prebuilt/linux-*/${SUFFIX}/lib |
|
|