Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

remove x86 from darwin config #63

Closed
wants to merge 3 commits into from
Closed

Conversation

matthewcarlreetz
Copy link

Remove the -arch x86_64 flag to allow build on arm64 Macs.

@dabaer
Copy link

dabaer commented Dec 28, 2021

Did you have an issue with homebrew libsodium that you needed to add those lines? In my PR for this issue (#60) just changing the arch indication worked on my m1 system with libsodium installed through homebrew.

@dabaer
Copy link

dabaer commented Dec 28, 2021

Nevermind, I see i forgot I had commented on the issue #53 about it and was exporting the CLIBS

export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib

I think specifying the library location as you've done may break on intel based systems that way.

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

Successfully merging this pull request may close these issues.

3 participants