aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-03-25 11:34:24 +0100
committerLoïc Hoguin <[email protected]>2020-03-25 11:34:24 +0100
commit2331c3443e2723209d6be0ceba71890c3e521505 (patch)
tree4d4d697e07382430857ce44ab96cf0f162bf50c4
parent7edc30ad40cd5dc033bc8f0e914b951abf6d0527 (diff)
downloaderlang.mk-2331c3443e2723209d6be0ceba71890c3e521505.tar.gz
erlang.mk-2331c3443e2723209d6be0ceba71890c3e521505.tar.bz2
erlang.mk-2331c3443e2723209d6be0ceba71890c3e521505.zip
Remove -lerl_interface from the default LDLIBS
The -lerl_interface library is getting removed in OTP-23.
-rw-r--r--CHANGELOG.asciidoc10
-rw-r--r--plugins/c_src.mk2
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.