diff options
Diffstat (limited to 'main/misc/build-native.bat')
-rw-r--r-- | main/misc/build-native.bat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/misc/build-native.bat b/main/misc/build-native.bat new file mode 100644 index 00000000..73a19a00 --- /dev/null +++ b/main/misc/build-native.bat @@ -0,0 +1,22 @@ + +@echo on +echo Currently broken, feel free to fix and send me a patch, see .sh file +exit 1 + +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 .. |