Closed matthewcarlreetz closed 2 years ago
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.
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.
Remove the
-arch x86_64
flag to allow build on arm64 Macs.