From 3070ca21ed665a5aeb7d0cfe28f7f21d6c062a92 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Thu, 25 Feb 2016 19:25:47 -0800 Subject: [PATCH] Adapt configure.sh to the new way that the OpenSSL-for-iPhone project produces openssl binaries Signed-off-by: Alexander Karatarakis --- Build_iOS/configure.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Build_iOS/configure.sh b/Build_iOS/configure.sh index cbc68baab5..8c9c9eafd7 100755 --- a/Build_iOS/configure.sh +++ b/Build_iOS/configure.sh @@ -12,9 +12,11 @@ git clone --depth=1 https://github.com/x2on/OpenSSL-for-iPhone.git pushd OpenSSL-for-iPhone ./build-libssl.sh popd -mkdir openssl -mv OpenSSL-for-iPhone/include openssl -mv OpenSSL-for-iPhone/lib openssl +mkdir -p openssl/lib +cp -r OpenSSL-for-iPhone/bin/iPhoneOS8.2-armv7.sdk/include openssl +cp OpenSSL-for-iPhone/include/LICENSE openssl +lipo -create -output openssl/lib/libssl.a OpenSSL-for-iPhone/bin/iPhone*/lib/libssl.a +lipo -create -output openssl/lib/libcrypto.a OpenSSL-for-iPhone/bin/iPhone*/lib/libcrypto.a git clone https://github.com/cristeab/ios-cmake.git pushd ios-cmake