summaryrefslogtreecommitdiff
path: root/ics-openvpn-stripped/main/misc/build-native.bat
diff options
context:
space:
mode:
Diffstat (limited to 'ics-openvpn-stripped/main/misc/build-native.bat')
-rw-r--r--ics-openvpn-stripped/main/misc/build-native.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/ics-openvpn-stripped/main/misc/build-native.bat b/ics-openvpn-stripped/main/misc/build-native.bat
new file mode 100644
index 00000000..73a19a00
--- /dev/null
+++ b/ics-openvpn-stripped/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 ..