aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-05-28 20:56:19 +0200
committerBadlop <badlop@process-one.net>2020-06-01 10:33:06 +0200
commit2ca5712507473578fe00e4a1bce8e25a0d9f1bca (patch)
tree4ac82fffddc260d288547db2248c15fc4afb140a
parentRename '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.config3
-rwxr-xr-xtools/encbin0 -> 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
new file mode 100755
index 000000000..af7ce9762
--- /dev/null
+++ b/tools/enc
Binary files differ