mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Fix indentation errors
This commit is contained in:
parent
b885b4dbfb
commit
39f8b344bc
1 changed files with 37 additions and 36 deletions
|
@ -116,13 +116,14 @@ compile(Config, AppFile) ->
|
|||
%% and list of new binaries
|
||||
lists:foreach(
|
||||
fun({SoName,Bins}) ->
|
||||
AllBins = [sets:from_list(Bins), sets:from_list(NewBins)],
|
||||
Intersection = sets:intersection(AllBins),
|
||||
case needs_link(SoName, sets:to_list(Intersection)) of
|
||||
AllBins = [sets:from_list(Bins),
|
||||
sets:from_list(NewBins)],
|
||||
NewBins1 = sets:intersection(AllBins),
|
||||
case needs_link(SoName, sets:to_list(NewBins1)) of
|
||||
true ->
|
||||
rebar_utils:sh(
|
||||
?FMT("$CC ~s $LDFLAGS $DRV_LDFLAGS -o ~s",
|
||||
[string:join(Bins, " "), SoName]),
|
||||
Fmt = "$CC ~s $LDFLAGS $DRV_LDFLAGS -o ~s",
|
||||
Vars = [string:join(Bins, " "), SoName],
|
||||
rebar_utils:sh(?FMT(Fmt, Vars),
|
||||
[{env, Env}]);
|
||||
false ->
|
||||
?INFO("Skipping relink of ~s\n", [SoName]),
|
||||
|
|
Loading…
Reference in a new issue