Skip to content
This repository has been archived by the owner. It is now read-only.
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 1 changed file with 1 addition and 0 deletions.
@@ -7,6 +7,7 @@
[{"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/", ["c_src/*.c"]}]}.

0 comments on commit de91d59

Please sign in to comment.