mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Modify ERL_LDFLAGS of deps when compiling on R23 on rebar2
Newer version removed erl_interface, and default rebar2 ERL_LDFLAGS will try to link it, this change should pass correct flags to compiler.
This commit is contained in:
parent
56d00e427d
commit
21312c79aa
@ -151,6 +151,7 @@
|
||||
{recursive_cmds, ['configure-deps']}.
|
||||
|
||||
{overrides, [
|
||||
{if_not_rebar3, {if_version_above, "22", {add, [{port_env, [{"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"}]}]}}},
|
||||
{del, [{erl_opts, [warnings_as_errors]}]}]}.
|
||||
|
||||
{post_hook_configure, [{"fast_tls", []},
|
||||
|
Loading…
Reference in New Issue
Block a user