Permalink
Browse files

Revert change to linking order arguments

  • Loading branch information...
1 parent f02c48a commit 2f1d415a70abc382292362484e7be50e02313584 @dizzyd dizzyd committed Dec 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rebar_port_compiler.erl
@@ -95,7 +95,7 @@ compile(Config, AppFile) ->
case needs_link(SoName, NewBins) of
true ->
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 ->
?INFO("Skipping relink of ~s\n", [SoName]),
ok

0 comments on commit 2f1d415

Please sign in to comment.