the Makefile options for compiling enacl fail for the arm-64 darwin architectures. See upstream in rebar where the -arch x86 flag is no longer specified (https://github.com/erlang/rebar3/issues/2655). The very hacky way I got around this to build was after doing:
brew install libsodium
Latest stable at this point in time being 1.0.18_1, then altering the rebar.config to:
the Makefile options for compiling enacl fail for the arm-64 darwin architectures. See upstream in rebar where the
-arch x86
flag is no longer specified (https://github.com/erlang/rebar3/issues/2655). The very hacky way I got around this to build was after doing:brew install libsodium
Latest stable at this point in time being
1.0.18_1
, then altering therebar.config
to: