From f39b87c29432a2c537e4b1fb6a0336a646c942a7 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 5 Mar 2017 11:42:26 +0100 Subject: [PATCH] Remove from the NDK Use the one from libandroid-shmem instead --- build-package.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-package.sh b/build-package.sh index bcdc59447..613d3fe8c 100755 --- a/build-package.sh +++ b/build-package.sh @@ -564,6 +564,9 @@ termux_step_setup_toolchain() { # ifaddrs.h: Added in android-24 unified headers, use a inline implementation for now. cp "$TERMUX_SCRIPTDIR"/ndk_patches/{elf.h,sysexits.h,ifaddrs.h} $_TERMUX_TOOLCHAIN_TMPDIR/sysroot/usr/include + # Remove from the NDK in favour of that from the libandroid-shmem: + rm $_TERMUX_TOOLCHAIN_TMPDIR/sysroot/usr/include/sys/shm.h + local _LIBDIR=usr/lib if [ $TERMUX_ARCH = x86_64 ]; then _LIBDIR+=64; fi $TERMUX_ELF_CLEANER $_LIBDIR/*.so