diff options
author | Loïc Hoguin <[email protected]> | 2020-05-20 10:27:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-05-20 10:27:03 +0200 |
commit | ada293a1cdf9fdf60998dbafe21f74d56a4d1be3 (patch) | |
tree | 5fbd1473a9ec6190e511ddc8921fd4a8b1df7c5b | |
parent | 89f2eca925b3f19b2409f9d0e71cf8108e5bd5eb (diff) | |
download | erlang.mk-ada293a1cdf9fdf60998dbafe21f74d56a4d1be3.tar.gz erlang.mk-ada293a1cdf9fdf60998dbafe21f74d56a4d1be3.tar.bz2 erlang.mk-ada293a1cdf9fdf60998dbafe21f74d56a4d1be3.zip |
Remove -lerl_interface also when autopatching
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index d928fb1..6d6623b 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -524,7 +524,7 @@ define dep_autopatch_rebar.erl Write("\npre-app::\n\t@$$\(MAKE) --no-print-directory -f c_src/Makefile.erlang.mk\n"), PortSpecWrite(io_lib:format("ERL_CFLAGS ?= -finline-functions -Wall -fPIC -I \\"~s/erts-~s/include\\" -I \\"~s\\"\n", [code:root_dir(), erlang:system_info(version), code:lib_dir(erl_interface, include)])), - PortSpecWrite(io_lib:format("ERL_LDFLAGS ?= -L \\"~s\\" -lerl_interface -lei\n", + PortSpecWrite(io_lib:format("ERL_LDFLAGS ?= -L \\"~s\\" -lei\n", [code:lib_dir(erl_interface, lib)])), [PortSpecWrite(["\n", E, "\n"]) || E <- OsEnv], FilterEnv = fun(Env) -> |