We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842cf50 commit 77064c9Copy full SHA for 77064c9
setCrossEnvironment-armeabi-v7a.sh
@@ -1,4 +1,4 @@
1
-#!/bin/sh
+#!/bin/bash
2
3
NDK_STL="libc++"
4
@@ -35,9 +35,11 @@ ARCH=armeabi-v7a
35
STL_CFLAGS="-isystem$NDK/sources/cxx-stl/gnu-libstdc++/$GCCVER/include \
36
-isystem$NDK/sources/cxx-stl/gnu-libstdc++/$GCCVER/libs/$ARCH/include"
37
STL_LDFLAGS="-L$NDK/sources/cxx-stl/gnu-libstdc++/$GCCVER/libs/$ARCH"
38
-if [[ "$NDK_STL" -eq "libc++" ]] ; then
39
- STL_CFLAGS="-isystem$NDK/sources/cxx-stl/llvm-libc++/include"
+STL_LDLIB="-lgnustl_shared -lsupc++"
+if [[ "$NDK_STL" == "libc++" ]] ; then
40
+ STL_CFLAGS="-isystem$NDK/sources/cxx-stl/llvm-libc++/libcxx/include"
41
STL_LDFLAGS="-L$NDK/sources/cxx-stl/llvm-libc++/libs/$ARCH"
42
+ STL_LDLIB="-lc++_shared"
43
fi
44
45
CFLAGS="
0 commit comments