Skip to content

Commit 7ddab11

Browse files
Licenserddeboer
authored andcommitted
Fix compilation on SmartOS/solaris (#2)
1 parent 8d5342c commit 7ddab11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{port_env, [
88
{"DRV_LDFLAGS","-shared $ERL_LDFLAGS -lpthread"},
99
{"darwin", "DRV_LDFLAGS", "-bundle -flat_namespace -undefined suppress $ERL_LDFLAGS -lpthread"},
10-
{"solaris", "ERL_CFLAGS", "-lnsl $ERL_CFLAGS"},
10+
{"solaris", "ERL_LDFLAGS", "-lnsl $ERL_LDFLAGS"},
1111
{"DRV_CFLAGS","-Ic_src -Wall -fPIC $ERL_CFLAGS"},
1212
{"LDFLAGS", "$LDFLAGS -lpthread"}
1313
]}.

0 commit comments

Comments
 (0)