From 2331c3443e2723209d6be0ceba71890c3e521505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 25 Mar 2020 11:34:24 +0100 Subject: Remove -lerl_interface from the default LDLIBS The -lerl_interface library is getting removed in OTP-23. --- CHANGELOG.asciidoc | 10 ++++++++-- plugins/c_src.mk | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index d8933ef..cdffb29 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -1,5 +1,3 @@ -2018/12/03: Changelog introduced. - 2018/12/03: Relx has been updated to v3.27.0. 2018/12/03: Dependencies are no longer always rebuilt by @@ -13,3 +11,11 @@ 2019/06/20: `list-deps` now includes local applications found in the `APPS_DIR` directory. + +2020/03/25: The `-lerl_interface` argument has been removed + from the default `LDLIBS`. This is an old library + that is getting removed in OTP-23 and should no + longer be used. Note that the default still includes + `-lei` which is part of the Erlang/OTP Erl_Interface + *application* but is built as a separate C library. + The removal only applies to `-lerl_interface` itself. diff --git a/plugins/c_src.mk b/plugins/c_src.mk index 6c957d7..a83bc44 100644 --- a/plugins/c_src.mk +++ b/plugins/c_src.mk @@ -56,7 +56,7 @@ endif CFLAGS += -I"$(ERTS_INCLUDE_DIR)" -I"$(ERL_INTERFACE_INCLUDE_DIR)" CXXFLAGS += -I"$(ERTS_INCLUDE_DIR)" -I"$(ERL_INTERFACE_INCLUDE_DIR)" -LDLIBS += -L"$(ERL_INTERFACE_LIB_DIR)" -lerl_interface -lei +LDLIBS += -L"$(ERL_INTERFACE_LIB_DIR)" -lei # Verbosity. -- cgit v1.2.3