mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Tweaking order of defaults so that -shared is default across platforms unless explicitly overridden
This commit is contained in:
parent
f333bc2a92
commit
bd510dea20
1 changed files with 1 additions and 1 deletions
|
@ -247,8 +247,8 @@ default_env() ->
|
||||||
{"CXX", "g++"},
|
{"CXX", "g++"},
|
||||||
{"CFLAGS", "-g -Wall -fPIC"},
|
{"CFLAGS", "-g -Wall -fPIC"},
|
||||||
{"CXXFLAGS", "-g -Wall -fPIC"},
|
{"CXXFLAGS", "-g -Wall -fPIC"},
|
||||||
|
{"LDFLAGS", "-shared"},
|
||||||
{"darwin", "LDFLAGS", "-bundle -flat_namespace -undefined suppress"},
|
{"darwin", "LDFLAGS", "-bundle -flat_namespace -undefined suppress"},
|
||||||
{"linux", "LDFLAGS", "-shared"},
|
|
||||||
{"DRIVER_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include),
|
{"DRIVER_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include),
|
||||||
" -I", filename:join(erts_dir(), include),
|
" -I", filename:join(erts_dir(), include),
|
||||||
" "])},
|
" "])},
|
||||||
|
|
Loading…
Reference in a new issue