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

Compilation failing with curlrules #3

Closed aGaneshBanda closed 7 years ago

aGaneshBanda commented 8 years ago

Hi, Firstly thank you so much for this script. It makes life soo easy.

I have an issue compiling with the built libs. curl/curlrules.h:143:6: 'curl_rule_01' declared as an array with a negative size

aGaneshBanda commented 8 years ago

Issue resolved by removing armv7 and armv7s from compilation. Hence the lib built was not compatible with these architectures. Even thou it shows it in xcrun

jasonacox commented 8 years ago

Thanks for the feedback. Interesting! I'll take a look...

jasonacox commented 7 years ago

I haven't been able to reproduce this with the latest version of Xcode and the updated build scripts. I'm closing this for now but please re-open if you see it occur again.