]>
git.saurik.com Git - cycript.git/blob - android.sh
5 bin
=${ndk}/toolchains
/arm
-linux-androideabi-${ver}/prebuilt
/darwin
-x86_64/bin
6 #export PATH=${bin}:$PATH
8 flg
+=(--sysroot=${ndk}/platforms
/android
-9/arch
-arm)
9 flg
+=(-I${ndk}/sources
/cxx
-stl/gnu
-libstdc++/${ver}/include
)
10 flg
+=(-I${ndk}/sources
/cxx
-stl/gnu
-libstdc++/${ver}/libs
/${abi}/include
)
12 ldf
+=(-L${ndk}/sources
/cxx
-stl/gnu
-libstdc++/${ver}/libs
/${abi})
13 ldf
+=(-lgnustl_static)
14 tgt
=arm
-linux-androideabi
20 CC
="${cc} ${flg[*]}" CXX
="${cxx} ${flg[*]}" OBJCXX
="${cxx} ${flg[*]}" "${cfg}" --host="${tgt}" LDFLAGS
="${ldf[*]}" "$@"