diff options
author | Badlop <badlop@process-one.net> | 2020-05-28 20:56:19 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-06-01 10:33:06 +0200 |
commit | 2ca5712507473578fe00e4a1bce8e25a0d9f1bca (patch) | |
tree | 4ac82fffddc260d288547db2248c15fc4afb140a | |
parent | Rename 'turn_v4_ip' and 'turn_v6_ip' options (diff) |
Dirty workarounds to compile jiffy with Erlang/OTP 23 (#3282)
Works for me with:
./configure --disable-pam
./rebar get-deps
./rebar configure-deps
./rebar compile
make install
changes in erlang-native-compiler used by jiffy:
src/rebar_port_compiler.erl
- {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"},
+ {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lei"},
src/rebar_utils.erl
--dialyzer({no_missing_calls, escript_foldl/3}).
-rw-r--r-- | rebar.config | 3 | ||||
-rwxr-xr-x | tools/enc | bin | 0 -> 26060 bytes |
2 files changed, 3 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config index 1f35bb8ad..04b617ad7 100644 --- a/rebar.config +++ b/rebar.config @@ -154,6 +154,9 @@ {if_not_rebar3, {if_version_above, "22", {add, [{port_env, [{"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"}]}]}}}, {del, [{erl_opts, [warnings_as_errors]}]}]}. +{post_hooks, [{'get-deps', "cp tools/enc deps/jiffy/"}]}. +{post_hooks, [{'update-deps', "cp tools/enc deps/jiffy/"}]}. + {post_hook_configure, [{"fast_tls", []}, {"stringprep", []}, {"fast_yaml", []}, diff --git a/tools/enc b/tools/enc Binary files differnew file mode 100755 index 000000000..af7ce9762 --- /dev/null +++ b/tools/enc |