Work around c++ headers path on i686

This commit is contained in:
Fredrik Fornwall 2015-07-02 20:43:24 -04:00
parent d107ca288b
commit 0425eb1e13
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -15,6 +15,9 @@ termux_step_extract_into_massagedir () {
if [ $TERMUX_ARCH = arm ]; then
cp $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/arm-linux-androideabi/armv7-a/bits/* \
$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/bits
elif [ $TERMUX_ARCH = i686 ]; then
cp $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/i686-linux-android/bits/* \
$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/bits
fi
# fenv.h is a C++ compatibility header which should be included with the compiler
rm -Rf $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/{arm-linux-androideabi,tr1,tr2,fenv.h,complex.h}