Skip to content

Commit 3070ca2

Browse files
ras0219-msftalexkaratarakis
authored andcommitted
Adapt configure.sh to the new way that the OpenSSL-for-iPhone project produces openssl binaries
Signed-off-by: Alexander Karatarakis <alkarata@microsoft.com>
1 parent c9ca174 commit 3070ca2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Build_iOS/configure.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ git clone --depth=1 https://github.com/x2on/OpenSSL-for-iPhone.git
1212
pushd OpenSSL-for-iPhone
1313
./build-libssl.sh
1414
popd
15-
mkdir openssl
16-
mv OpenSSL-for-iPhone/include openssl
17-
mv OpenSSL-for-iPhone/lib openssl
15+
mkdir -p openssl/lib
16+
cp -r OpenSSL-for-iPhone/bin/iPhoneOS8.2-armv7.sdk/include openssl
17+
cp OpenSSL-for-iPhone/include/LICENSE openssl
18+
lipo -create -output openssl/lib/libssl.a OpenSSL-for-iPhone/bin/iPhone*/lib/libssl.a
19+
lipo -create -output openssl/lib/libcrypto.a OpenSSL-for-iPhone/bin/iPhone*/lib/libcrypto.a
1820

1921
git clone https://github.com/cristeab/ios-cmake.git
2022
pushd ios-cmake

0 commit comments

Comments
 (0)