Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert change to linking order arguments

  • Loading branch information...
commit 2f1d415a70abc382292362484e7be50e02313584 1 parent f02c48a
Dave Smith dizzyd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rebar_port_compiler.erl
2  src/rebar_port_compiler.erl
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.