mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Make sure that configure is run before pc:compile on rebar3
This commit is contained in:
parent
948578b55b
commit
f0bbc05b7a
@ -299,7 +299,7 @@ fun(Hooks) ->
|
||||
lists:map(fun({Pkg, Flags}) ->
|
||||
DepPath = ResolveDepPath("deps/" ++ Pkg ++ "/"),
|
||||
Line = lists:flatten(GenDepConfigureLine(DepPath, Flags)),
|
||||
{add, list_to_atom(Pkg), [{pre_hooks, [{'compile', Line}, {'configure-deps', Line}]}]}
|
||||
{add, list_to_atom(Pkg), [{pre_hooks, [{{pc, compile}, Line}, {'compile', Line}, {'configure-deps', Line}]}]}
|
||||
end, Hooks)
|
||||
end,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user