mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-24 04:30:24 +00:00
Update repo
This commit is contained in:
@@ -6,10 +6,10 @@ termux_step_setup_toolchain() {
|
||||
# toolchain setup to ensure that everyone gets an updated
|
||||
# toolchain
|
||||
if [ "${TERMUX_NDK_VERSION}" = 25 ]; then
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v0"
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v1"
|
||||
termux_step_setup_toolchain_25
|
||||
elif [ "${TERMUX_NDK_VERSION}" = 23c ]; then
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v1"
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v2"
|
||||
termux_step_setup_toolchain_23c
|
||||
else
|
||||
termux_error_exit "We do not have a setup_toolchain function for NDK version $TERMUX_NDK_VERSION"
|
||||
|
||||
@@ -205,7 +205,7 @@ termux_step_setup_toolchain_23c() {
|
||||
sed -i "s/define __ANDROID_API__ __ANDROID_API_FUTURE__/define __ANDROID_API__ $TERMUX_PKG_API_LEVEL/" \
|
||||
usr/include/android/api-level.h
|
||||
|
||||
$TERMUX_ELF_CLEANER usr/lib/*/*/*.so
|
||||
$TERMUX_ELF_CLEANER --api-level=$TERMUX_PKG_API_LEVEL usr/lib/*/*/*.so
|
||||
for dir in usr/lib/*; do
|
||||
# This seem to be needed when building rust
|
||||
# packages
|
||||
|
||||
@@ -198,7 +198,7 @@ termux_step_setup_toolchain_25() {
|
||||
sed -i "s/define __ANDROID_API__ __ANDROID_API_FUTURE__/define __ANDROID_API__ $TERMUX_PKG_API_LEVEL/" \
|
||||
usr/include/android/api-level.h
|
||||
|
||||
$TERMUX_ELF_CLEANER usr/lib/*/*/*.so
|
||||
$TERMUX_ELF_CLEANER --api-level=$TERMUX_PKG_API_LEVEL usr/lib/*/*/*.so
|
||||
for dir in usr/lib/*; do
|
||||
# This seem to be needed when building rust
|
||||
# packages
|
||||
|
||||
Reference in New Issue
Block a user