From 0ff8e1e7933076b01d373aacefe52b58075bc6ed Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 1 Dec 2015 19:59:49 -0500 Subject: [PATCH] ndk-stl: Fix 64-bit builds --- packages/ndk-stl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ndk-stl/build.sh b/packages/ndk-stl/build.sh index 452e72955..71fcc408b 100644 --- a/packages/ndk-stl/build.sh +++ b/packages/ndk-stl/build.sh @@ -15,8 +15,8 @@ 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/* \ + else + cp $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/$TERMUX_ARCH-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