sinofool/build-libcurl-ios

Error linking for arm64 with openssl.

lobovkin opened this issue · 3 comments

Hello. Error linking for arm64 in Xcode then builded with openssl (without openssl all is OK).
I've fixed this: replace "--with-ssl=${HOME}/Desktop/openssl-ios-dist" with "--with-darwinssl".

@lobovkin Thanks for the advice, I will create a switch about openssl and darwinssl.

http://curl.haxx.se/docs/adv_20150108A.html
To use darwin native ssl, I will also add a version check to make sure no vulnerable version build

Checkout the latest script. It will build with darwin ssl by default.
I am still using openssl algorithm in my project, but I think most of other project not. So I added a switch to build with openssl.

Thanks @lobovkin for the suggestion.