Skip to content

Commit

Permalink
support new openssl options in script
Browse files Browse the repository at this point in the history
  • Loading branch information
kost committed Jul 12, 2015
1 parent 3237c3a commit 5ce464e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android/multiarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -x

ANDROIDDIR=/sdcard/opt
ANDROIDNMAP=nmap-6.47
ANDROIDNMAP=nmap-6.49BETA4
NDKARCHPPREFIX=/data/opt/ndk
CURDIR=`pwd`

Expand Down Expand Up @@ -35,11 +35,11 @@ do
ARCHZIP="dunno"
fi
NDKARCHPATH=$NDKARCHPPREFIX-$arch
PATH=$NDKARCHPATH/bin:$PATH NDKDEST=$NDKARCHPATH ANDROIDDEST=$ANDROIDDIR/$ANDROIDNMAP HOSTARCH=$arch HOSTPARM=$THOSTPARM PREFIXT=$TPREFIXT make build install strip
PATH=$NDKARCHPATH/bin:$PATH NDKDEST=$NDKARCHPATH ANDROIDDEST=$ANDROIDDIR/$ANDROIDNMAP HOSTARCH=$arch HOSTPARM=$THOSTPARM PREFIXT=$TPREFIXT OPENSSL=1 make openssl build install strip
echo "Copying data"

cd $ANDROIDDIR/$ANDROIDNMAP
PATH=$NDKARCHPATH/bin:$PATH $TPREFIXT-strip bin/*
# PATH=$NDKARCHPATH/bin:$PATH $TPREFIXT-strip bin/*
cd bin
zip -9 ../../$ANDROIDNMAP-binaries-$ARCHZIP.zip *
cd ..
Expand Down

0 comments on commit 5ce464e

Please sign in to comment.