Browse Source

Revert change to linking order arguments

pull/3/head
Dave Smith 15 years ago
parent
commit
2f1d415a70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_port_compiler.erl

+ 1
- 1
src/rebar_port_compiler.erl View File

@ -95,7 +95,7 @@ compile(Config, AppFile) ->
case needs_link(SoName, NewBins) of case needs_link(SoName, NewBins) of
true -> true ->
AllBins = string:join(NewBins ++ ExistingBins, " "), AllBins = string:join(NewBins ++ ExistingBins, " "),
rebar_utils:sh_failfast(?FMT("$CC $LDFLAGS $DRIVER_LDFLAGS ~s -o ~s", [AllBins, SoName]), Env);
rebar_utils:sh_failfast(?FMT("$CC ~s $LDFLAGS $DRIVER_LDFLAGS -o ~s", [AllBins, SoName]), Env);
false -> false ->
?INFO("Skipping relink of ~s\n", [SoName]), ?INFO("Skipping relink of ~s\n", [SoName]),
ok ok

Loading…
Cancel
Save