25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +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:
Paweł Chmielowski 2020-05-26 11:01:22 +02:00
parent 56d00e427d
commit 21312c79aa

View File

@ -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", []},