summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-18 15:08:36 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-12-18 15:08:36 -0700
commit2f1d415a70abc382292362484e7be50e02313584 (patch)
treee00188e695056c0a00dd51eccd7aca054dec1050 /src
parentf02c48a9097bd2278aad065d9434be91d1c7c06b (diff)
Revert change to linking order arguments
Diffstat (limited to 'src')
-rw-r--r--src/rebar_port_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index fd5fba4..1a3a004 100644
--- a/src/rebar_port_compiler.erl
+++ b/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