diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-10-18 01:43:13 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-10-18 01:43:13 +0200 |
commit | fd419f1e718d6f17a89fe27767cfaa89bf639b3a (patch) | |
tree | 72a3c4016956c96aae7bc7fef7d2ddce252f7868 /main/misc/build-native.bat | |
parent | 9fef7afa6c540407af1f0e9362fa99daf26ee594 (diff) |
Prepare OpenVPN for Android for the sweetest Android yet
Diffstat (limited to 'main/misc/build-native.bat')
-rw-r--r-- | main/misc/build-native.bat | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/main/misc/build-native.bat b/main/misc/build-native.bat index 73a19a00..9885557a 100644 --- a/main/misc/build-native.bat +++ b/main/misc/build-native.bat @@ -1,22 +1,25 @@ @echo on -echo Currently broken, feel free to fix and send me a patch, see .sh file +echo Currently broken, feel free to fix and send me a patch, see the build-native.sh file how native libraries are build on UNIX exit 1 -call ndk-build APP_API=all -j 8 +call ndk-build APP_ABI=x86_64 -j 8 USE_BREAKPAD=0 cd libs -mkdir ..\assets -mkdir ..\build\ +mkdir ..\ovpnlibs +mkdir ..\ovpnlibs\assets for /D %%f in (*) do ( - copy %%f\minivpn ..\assets\minivpn.%%f + copy %%f\nopievpn ..\ovpnlibs\assets\nopievpn.%%f + copy %%f\pievpn ..\ovpnlibs\assets\pievpn.%%f + del %%f\libcrypto.so del %%f\libssl.so - mkdir ..\build\native-libs\%%f\ - copy %%f\*.so ..\build\native-libs\%%f\ + mkdir ..\ovpnlibs\jniLibs + mkdir ..\ovpnlibs\jniLibs\%%f\ + copy %%f\*.so ..\ovpnlibs\jniLibs\%%f\ ) cd .. |