Skip to content

Commit 1de60da

Browse files
committed
fix build error; still not compiling
1 parent e8dda21 commit 1de60da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Build_iOS/configure.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ set -e
33

44
if [ ! -e boost.framework ]
55
then
6-
git clone -n https://github.com/faithfracture/Apple-Boost-BuildScript Apple-Boost-BuildScript
6+
[ -d Apple-Boost-BuildScript ] || git clone -n https://github.com/faithfracture/Apple-Boost-BuildScript Apple-Boost-BuildScript
77
pushd Apple-Boost-BuildScript
88
git checkout 86f7570fceaef00846cc75f59c61474758fc65cb
9-
BOOST_LIBS="thread chrono filesystem regex system random" ./boost.sh
9+
BOOST_LIBS="thread chrono filesystem regex system random" ./boost.sh -ios
1010
popd
1111
mv Apple-Boost-BuildScript/build/boost/1.63.0/ios/framework/boost.framework .
1212
mv boost.framework/Versions/A/Headers boost.headers
@@ -21,7 +21,7 @@ if [ ! -e openssl/lib/libcrypto.a ]
2121
./build-libssl.sh
2222
popd
2323
mkdir -p openssl/lib
24-
cp -r OpenSSL-for-iPhone/bin/iPhoneOS9.2-armv7.sdk/include openssl
24+
cp -r OpenSSL-for-iPhone/bin/iPhoneOS11.2-armv7.sdk/include openssl
2525
cp OpenSSL-for-iPhone/include/LICENSE openssl
2626
lipo -create -output openssl/lib/libssl.a OpenSSL-for-iPhone/bin/iPhone*/lib/libssl.a
2727
lipo -create -output openssl/lib/libcrypto.a OpenSSL-for-iPhone/bin/iPhone*/lib/libcrypto.a

0 commit comments

Comments
 (0)