Tweaking order of defaults so that -shared is default across platforms unless explicitly overridden

This commit is contained in:
Dave Smith 2010-02-01 10:56:47 -07:00
parent f333bc2a92
commit bd510dea20

View file

@ -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),
" "])},