erlangpack / bcrypt

Erlang wrapper for OpenBSD's Blowfish password hashing code
https://hex.pm/packages/bcrypt
Other
16 stars 19 forks source link

Change the makefile eval's. #35

Closed mmzeeman closed 1 year ago

mmzeeman commented 1 year ago

The eval's in the Makefile where not working with OTP 26.0-rc1. I simplified them. They also finish faster this way.

Fixes a compile problem when OTP 26 is used.

./rebar3 compile
===> Verifying dependencies...
Error! Failed to eval: io:format("~s/erts-~s/include/", [code:root_dir(), erlang:system_info(version)]).

Error! Failed to eval: io:format("~s", [code:lib_dir(erl_interface, include)]).
mmzeeman commented 1 year ago

The way the evals are done should not have worked in earlier OTP versions, because -s init stop should be evaluated before the -eval part.