Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reconfigure build for macOs ARM Applications #56

Open
lah64 opened this issue Dec 9, 2021 · 5 comments
Open

Reconfigure build for macOs ARM Applications #56

lah64 opened this issue Dec 9, 2021 · 5 comments

Comments

@lah64
Copy link

lah64 commented Dec 9, 2021

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

@jasonacox
Copy link
Owner

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

@ghost
Copy link

ghost commented Dec 10, 2021

@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

@jasonacox
Copy link
Owner

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?

@lah64
Copy link
Author

lah64 commented Dec 11, 2021

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

xcode IDE + I use lib.a format

@jasonacox
Copy link
Owner

Added --without-libidn2 in the current build.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants