Build-OpenSSL-cURL icon indicating copy to clipboard operation
Build-OpenSSL-cURL copied to clipboard

Reconfigure build for macOs ARM Applications

Open lah64 opened this issue 3 years ago • 5 comments

Hello, I think it's male sense add to build curl this flags:

This is necessary for desktop applications because the new architecture [ARM64] does not support these things...

--without-libidn2 --disable-ldap --without-zlib

lah64 avatar Dec 09 '21 10:12 lah64

Hi @SKyzZz are you getting an error for builds on this architecture?

jasonacox avatar Dec 10 '21 05:12 jasonacox

@jasonacox jasonacox just looks good when I compile but when I compile code I got:

unresolved external symbol c++ and etc...

  1. Ldap
  2. Inflare
  3. ZlibVersion

ghost avatar Dec 10 '21 06:12 ghost

Thanks! I could see removing the first two, but you likely want zlib to handle compressed http payloads. I am not getting the symbol errors. I import the frameworks this way into xcode:

image

Are you building your desktop app via xcode IDE or command line?

jasonacox avatar Dec 11 '21 04:12 jasonacox

Are you building your desktop app via xcode IDE or command line?

xcode IDE + I use lib.a format

lah64 avatar Dec 11 '21 12:12 lah64

Added --without-libidn2 in the current build.

jasonacox avatar Jul 20 '23 02:07 jasonacox