Skip to content

Commit

Permalink
Fix the build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Aug 7, 2016
1 parent 14038cd commit 03c8575
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ function try () {
# Build native binaries
pushd src/main
try $ANDROID_NDK_HOME/ndk-build -j8
# copy executables

rm -rf assets/armeabi-v7a
rm -rf assets/x86
mkdir -p assets/armeabi-v7a
mkdir -p assets/x86

#copy executables
for app in pdnsd redsocks ss-local ss-tunnel tun2socks
do
rm -rf assets/armeabi-v7a
rm -rf assets/x86
mkdir -p assets/armeabi-v7a
mkdir -p assets/x86
echo $app
try mv libs/armeabi-v7a/$app assets/armeabi-v7a/
try mv libs/x86/$app assets/x86/
done
Expand Down

0 comments on commit 03c8575

Please sign in to comment.