mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-08 03:43:25 +00:00
Update repo
This commit is contained in:
@@ -6,7 +6,7 @@ termux_step_setup_toolchain() {
|
||||
# toolchain setup to ensure that everyone gets an updated
|
||||
# toolchain
|
||||
if [ "${TERMUX_NDK_VERSION}" = 25b ]; then
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v0"
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v1"
|
||||
termux_setup_toolchain_25b
|
||||
elif [ "${TERMUX_NDK_VERSION}" = 23c ]; then
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v2"
|
||||
|
||||
@@ -196,12 +196,14 @@ termux_setup_toolchain_25b() {
|
||||
# Remove <spawn.h> as it's only for future (later than android-27).
|
||||
# Remove <zlib.h> and <zconf.h> as we build our own zlib.
|
||||
# Remove unicode headers provided by libicu.
|
||||
# Remove KRH/khrplatform.h provided by mesa.
|
||||
# Remove KHR/khrplatform.h provided by mesa.
|
||||
# Remove GLES, GLES2, and GLES3 provided by mesa.
|
||||
# Remove execinfo provided by libandroid-execinfo.
|
||||
# Remove NDK vulkan headers.
|
||||
rm usr/include/{sys/{capability,shm,sem},{glob,iconv,spawn,zlib,zconf},KHR/khrplatform,execinfo}.h
|
||||
rm usr/include/unicode/{char16ptr,platform,ptypes,putil,stringoptions,ubidi,ubrk,uchar,uconfig,ucpmap,udisplaycontext,uenum,uldnames,ulocdata,uloc,umachine,unorm2,urename,uscript,ustring,utext,utf16,utf8,utf,utf_old,utypes,uvernum,uversion}.h
|
||||
rm -Rf usr/include/vulkan
|
||||
rm -Rf usr/include/GLES{,2,3}
|
||||
|
||||
sed -i "s/define __ANDROID_API__ __ANDROID_API_FUTURE__/define __ANDROID_API__ $TERMUX_PKG_API_LEVEL/" \
|
||||
usr/include/android/api-level.h
|
||||
|
||||
Reference in New Issue
Block a user