diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2010-02-01 10:56:47 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2010-02-01 10:56:47 -0700 |
commit | bd510dea205281aa87bf008f7bc6ad885bc90b77 (patch) | |
tree | f02fa686008b2aa7a330df9364641475b29e1f1f /src | |
parent | f333bc2a92111adc0f7aae2f73ca53940d44a14e (diff) |
Tweaking order of defaults so that -shared is default across platforms unless explicitly overridden
Diffstat (limited to 'src')
-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), " "])}, |