Permalink
Browse files

solaris compatibility

This patch adds the required compiler flags to compile erlang-bcrypt under SmartOS.
  • Loading branch information...
Licenser committed Jan 11, 2014
1 parent 820283b commit de91d590f89aa47c3a0547528dde956504114b92
Showing with 1 addition and 0 deletions.
  1. +1 −0 rebar.config
View
@@ -7,6 +7,7 @@
{port_env,
[{"DRV_LDFLAGS","-shared $ERL_LDFLAGS -lpthread"},
{"darwin", "DRV_LDFLAGS", "-bundle -flat_namespace -undefined suppress $ERL_LDFLAGS -lpthread"},
{"solaris", "ERL_CFLAGS", "-lnsl $ERL_CFLAGS"},
{"DRV_CFLAGS","-Ic_src -Wall -fPIC $ERL_CFLAGS"}]}.
{port_specs, [{"priv/bcrypt_nif.so", ["c_src/*.c"]}]}.

0 comments on commit de91d59

Please sign in to comment.