From 1a49c83ad2fd3c98149e15c5605a2916069674ed Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 1 Nov 2013 02:04:28 +0100 Subject: Fix for windows build bat (untested by me) Closes issue #189 Thanks to Florian Gattung --- misc/build-native.bat | 32 ++++++++++++++++++-------------- 1 file 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 .. -- cgit v1.2.3