summaryrefslogtreecommitdiff
path: root/build-native.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-08-12 20:14:54 +0200
committerArne Schwabe <arne@rfc2549.org>2012-08-12 20:14:54 +0200
commit73b1388f398c8c0de8d3b7ba3e56de44c52372c3 (patch)
tree56f9ab77437897d487f402fdda0917c6bb25591b /build-native.sh
parent043132584dce9c49dbe3d4167d8d52e4ca9b05f3 (diff)
Add bat file to ease building native libs on windowsv0.5.18
Diffstat (limited to 'build-native.sh')
-rwxr-xr-xbuild-native.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/build-native.sh b/build-native.sh
index 2848fdd2..de76737a 100755
--- a/build-native.sh
+++ b/build-native.sh
@@ -1,12 +1,12 @@
-ndk-build APP_API=all -j 8
-if [ $? = 0 ]; then
- cd libs
- mkdir -p ../assets
- for i in *
- do
- cp -v $i/minivpn ../assets/minivpn.$i
- done
- # Removed compiled openssl libs, will use platform so libs
- # Reduces size of apk
- rm -v */libcrypto.so */libssl.so
+ndk-build APP_API=all -j 8
+if [ $? = 0 ]; then
+ cd libs
+ mkdir -p ../assets
+ for i in *
+ do
+ cp -v $i/minivpn ../assets/minivpn.$i
+ done
+ # Removed compiled openssl libs, will use platform so libs
+ # Reduces size of apk
+ rm -v */libcrypto.so */libssl.so
fi \ No newline at end of file