Skip to content

Commit

Permalink
Fix openssl setup script
Browse files Browse the repository at this point in the history
The setup script unnecessarily tried to install openssl to
/usr/local/ssl. This will fail on most machines and is not necessary, as
the subsequent build steps will just fetch the library from its source
directory.
  • Loading branch information
honggoff committed Sep 21, 2017
1 parent 5e0fad2 commit 296129d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions SetupOpenssl.sh
Expand Up @@ -230,9 +230,6 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
echo "ANDROID_DEV: $ANDROID_DEV"
fi

./config shared no-ssl3 no-comp no-hw no-engine --openssldir=/usr/local/ssl/android-14/
./config shared no-ssl3 no-comp no-hw no-engine
make depend
make all
find . -name libcrypto.a
readelf -h ./libcrypto.a | grep -i 'class\|machine' | head -2
make install CC=$ANDROID_TOOLCHAIN/arm-linux-androideabi-gcc RANLIB=$ANDROID_TOOLCHAIN/arm-linux-androideabi-ranlib

0 comments on commit 296129d

Please sign in to comment.