Files
gentoo/dev-util/rebar/files/rebar-erlang23.diff
Hanno Böck a4e88d92f1 dev-util/rebar: Fix compatibility with erlang 23.
Closes: https://bugs.gentoo.org/724648
Signed-off-by: Hanno Böck <hanno@gentoo.org>
Package-Manager: Portage-2.3.100, Repoman-2.3.22
2020-06-01 19:36:40 +02:00

13 lines
602 B
Diff

diff -Naurp a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
--- a/src/rebar_port_compiler.erl 2016-08-31 16:47:31.000000000 +0200
+++ b/src/rebar_port_compiler.erl 2020-05-23 13:03:22.464682124 +0200
@@ -673,7 +673,7 @@ default_env() ->
"\" "
])},
{"ERL_EI_LIBDIR", lists:concat(["\"", erl_interface_dir(lib), "\""])},
- {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"},
+ {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lei"},
{"ERLANG_ARCH" , rebar_utils:wordsize()},
{"ERLANG_TARGET", rebar_utils:get_arch()},