35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
From ee8f239d6b54d4a583070505b1374cdc3c05f9c7 Mon Sep 17 00:00:00 2001
|
|
From: wang--ge <wang__ge@126.com>
|
|
Date: Fri, 21 Jan 2022 12:08:54 +0800
|
|
Subject: [PATCH] remove -lerl_interface build flag
|
|
|
|
---
|
|
src/rebar_port_compiler.erl | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
|
|
index 0ba9e84..f1d7602 100644
|
|
--- a/src/rebar_port_compiler.erl
|
|
+++ b/src/rebar_port_compiler.erl
|
|
@@ -137,7 +137,7 @@ info_help(Description) ->
|
|
" CXXFLAGS - C++ compiler~n"
|
|
" LDFLAGS - Link flags~n"
|
|
" ERL_CFLAGS - default -I paths for erts and ei~n"
|
|
- " ERL_LDFLAGS - default -L and -lerl_interface -lei~n"
|
|
+ " ERL_LDFLAGS - default -L and -lei~n"
|
|
" DRV_CFLAGS - flags that will be used for compiling~n"
|
|
" DRV_LDFLAGS - flags that will be used for linking~n"
|
|
" EXE_CFLAGS - flags that will be used for compiling~n"
|
|
@@ -679,7 +679,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()},
|
|
|
|
--
|
|
2.30.0
|
|
|