浏览代码

Revert change to linking order arguments

pull/3/head
Dave Smith 15 年前
父节点
当前提交
2f1d415a70
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_port_compiler.erl

+ 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

正在加载...
取消
保存