Skip to content

remove x86 from darwin config#63

Closed
matthewcarlreetz wants to merge 3 commits intojlouis:masterfrom
helium:master
Closed

remove x86 from darwin config#63
matthewcarlreetz wants to merge 3 commits intojlouis:masterfrom
helium:master

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