summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-11-01 02:04:28 +0100
committerArne Schwabe <arne@rfc2549.org>2013-11-01 02:04:28 +0100
commit1a49c83ad2fd3c98149e15c5605a2916069674ed (patch)
treee2171f2062404dc3109daa3b340f8d1e37ab2843 /misc
parent4454c5c36aded4dfd618e9755830b555218feca1 (diff)
Fix for windows build bat (untested by me)
Closes issue #189 Thanks to Florian Gattung <fgattung@gmail.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/build-native.bat32
1 files changed, 18 insertions, 14 deletions
diff --git a/misc/build-native.bat b/misc/build-native.bat
index f84f911a..2af86c5b 100644
--- a/misc/build-native.bat
+++ b/misc/build-native.bat
@@ -1,14 +1,18 @@
-@echo on
-call ndk-build -j 8
-
-cd libs
-mkdir ..\assets
-
-
-for /D %%f in (*) do (
- copy %%f\minivpn ..\assets\minivpn.%%f
- del %%f\libcrypto.so
- del %%f\libssl.so
-)
-
-cd ..
+
+@echo on
+call ndk-build APP_API=all -j 8
+
+cd libs
+mkdir ..\assets
+mkdir ..\build\
+
+for /D %%f in (*) do (
+ copy %%f\minivpn ..\assets\minivpn.%%f
+ del %%f\libcrypto.so
+ del %%f\libssl.so
+
+ mkdir ..\build\native-libs\%%f\
+ copy %%f\*.so ..\build\native-libs\%%f\
+)
+
+cd ..