File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33
44if [ ! -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
You can’t perform that action at this time.
0 commit comments