ndk-patches: Patch to 'define MB_CUR_MAX 4'
[termux-packages] / packages / ndk-stl / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html
2TERMUX_PKG_DESCRIPTION="Header files from the Android NDK needed for compiling C++ programs using STL"
3TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION
001e5f0b 4TERMUX_PKG_REVISION=1
59f0d218
FF
5TERMUX_PKG_NO_DEVELSPLIT=yes
6
7termux_step_extract_into_massagedir () {
d946e67c
FF
8 mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/c++/v1/
9 cp -Rf $TERMUX_STANDALONE_TOOLCHAIN/include/c++/4.9.x/* $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/c++/v1/
9f270eae 10
d946e67c
FF
11 # fenv.h is a C++ compatibility header which should be included with the compiler
12 #rm -Rf $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/{arm-linux-androideabi,tr1,tr2,fenv.h,complex.h,stdio.h,wctype.h}
59f0d218
FF
13}
14
15termux_step_massage () {
16 echo "overriding termux_step_massage to avoid removing header files"
17}