summaryrefslogtreecommitdiff
path: root/main/misc
diff options
context:
space:
mode:
Diffstat (limited to 'main/misc')
-rwxr-xr-xmain/misc/build-native.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/misc/build-native.sh b/main/misc/build-native.sh
index 37648bd1..52cb18aa 100755
--- a/main/misc/build-native.sh
+++ b/main/misc/build-native.sh
@@ -22,7 +22,11 @@ if [ -d openvpn/.git ]; then
cd ..
fi
-ndk-build APP_API=all -j 8
+if [ "x$1" = "x" ]; then
+ ndk-build APP_API=all -j 8
+else
+ ndk-build $@
+fi
if [ $? = 0 ]; then
rm -rf ovpnlibs/