diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2020-05-26 11:01:22 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2020-05-26 11:01:22 +0200 |
commit | 21312c79aa1c1c319f2b1859184a5ef3126c7ac9 (patch) | |
tree | 13e7c137dde1f008df05983017025827702042da | |
parent | ejabberd_stun: Add 'turn_blacklist' option (diff) |
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.
-rw-r--r-- | rebar.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config index ae7659bf0..ca640916b 100644 --- a/rebar.config +++ b/rebar.config @@ -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", []}, |