diff options
Diffstat (limited to 'src/rebar_port_compiler.erl')
-rw-r--r-- | src/rebar_port_compiler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl index 7ca968b..a347cb7 100644 --- a/src/rebar_port_compiler.erl +++ b/src/rebar_port_compiler.erl @@ -247,8 +247,8 @@ default_env() -> {"CXX", "g++"}, {"CFLAGS", "-g -Wall -fPIC"}, {"CXXFLAGS", "-g -Wall -fPIC"}, + {"LDFLAGS", "-shared"}, {"darwin", "LDFLAGS", "-bundle -flat_namespace -undefined suppress"}, - {"linux", "LDFLAGS", "-shared"}, {"DRIVER_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include), " -I", filename:join(erts_dir(), include), " "])}, |