ndk_patches: Take elf.h from the NDK

This commit is contained in:
Fredrik Fornwall 2016-05-08 16:26:15 -04:00
parent 46de1c2b41
commit 9462fe8257
2 changed files with 3575 additions and 2 deletions

View File

@ -164,8 +164,9 @@ if [ ! -d $TERMUX_STANDALONE_TOOLCHAIN ]; then
patch -p1;
echo "PATCHING FILE $f done!"
done
# sysexits.h is header-only and used by a few programs:
cp $TERMUX_SCRIPTDIR/ndk_patches/sysexits.h $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include
# elf.h is taken from glibc since the elf.h in the NDK is lacking.
# sysexits.h is header-only and used by a few programs.
cp $TERMUX_SCRIPTDIR/ndk_patches/{elf.h,sysexits.h} $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include
fi
export TERMUX_COMMON_CACHEDIR="$TERMUX_TOPDIR/_cache"

3572
ndk_patches/elf.h Normal file

File diff suppressed because it is too large Load Diff