jasonacox / Build-OpenSSL-cURL

Scripts to build OpenSSL, HTTP/2 (nghttp2) and cURL (libcurl) for MacOS, iOS and tvOS devices (x86_64, armv7, armv7s, arm64, arm64e). Now Supporting Apple Silicon, OpenSSL 3.0.x with TLS 1.3 and Mac Catalyst builds.
MIT License
419 stars 125 forks source link

Breaks with openssl 1.1 and Xcode 8 #18

Closed mickeyl closed 6 years ago

mickeyl commented 7 years ago

Thanks for the project. With newer openssl releases (i.e. 1.1.0e) the build fails with

ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea how to fix this?

jasonacox commented 7 years ago

That's correct. The build scripts in this project only work with the OpenSSL 1.0.1 and 1.0.2 series (current stable version is 1.0.2k) which is the long term support (LTS) version of OpenSSL [support will be provided until 31st December 2019]. The 1.1.0 series is in rapid development (see https://www.openssl.org/policies/releasestrat.html) so I have not invested any time to make this build script work with that series.

Having said that, if anyone is willing to fork or update the build script to work with the 1.1.0 series, I would welcome the contribution! :-)