From 68b9813716ae8a82b697573089d61c8cf8ce9693 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 1 Dec 2015 19:50:21 -0500 Subject: [PATCH] openssl: Fix 64-bit build --- packages/openssl/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/openssl/build.sh b/packages/openssl/build.sh index 093b10e6c..c0ab31aa0 100755 --- a/packages/openssl/build.sh +++ b/packages/openssl/build.sh @@ -13,10 +13,11 @@ TERMUX_PKG_BUILD_IN_SRC=yes termux_step_configure () { perl -p -i -e "s@TERMUX_CFLAGS@$CFLAGS@g" Configure rm -Rf $TERMUX_PREFIX/lib/libcrypto.* $TERMUX_PREFIX/lib/libssl.* - test $TERMUX_ARCH = "arm" && TERMUX_OPENSSL_PLATFORM_SUFFIX=armv7 - test $TERMUX_ARCH = "i686" && TERMUX_OPENSSL_PLATFORM_SUFFIX=x86 + TERMUX_OPENSSL_PLATFORM_SUFFIX="" + test $TERMUX_ARCH = "arm" && TERMUX_OPENSSL_PLATFORM_SUFFIX="-armv7" + test $TERMUX_ARCH = "i686" && TERMUX_OPENSSL_PLATFORM_SUFFIX="-x86" # If enabling zlib-dynamic we need "zlib-dynamic" instead of "no-comp no-dso": - ./Configure android-$TERMUX_OPENSSL_PLATFORM_SUFFIX --prefix=$TERMUX_PREFIX \ + ./Configure android$TERMUX_OPENSSL_PLATFORM_SUFFIX --prefix=$TERMUX_PREFIX \ --openssldir=$TERMUX_PREFIX/etc/tls \ shared \ no-comp no-dso \