This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch remove-erl_interface-on-windows
in repository https://gitbox.apache.org/repos/asf/couchdb-rebar.git

commit 3f2dc03a8561133511fd9809ed9e9eaf32ace2d9
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Thu Sep 30 22:53:17 2021 -0400

    Remove liberl_interface from port compiler on Windows
    
    We arleady removed it for unix-y systems, so we are just trying to
    match the behavior for Windows.
---
 src/rebar_port_compiler.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index 44f7b0d..41b49e3 100644
--- a/src/rebar_port_compiler.erl
+++ b/src/rebar_port_compiler.erl
@@ -721,7 +721,7 @@ default_env() ->
       "$LINKER $PORT_IN_FILES $LDFLAGS $EXE_LDFLAGS /OUT:$PORT_OUT_FILE"},
      %% ERL_CFLAGS are ok as -I even though strictly it should be /I
      {"win32", "ERL_LDFLAGS",
-      " /LIBPATH:$ERL_EI_LIBDIR erl_interface.lib ei.lib"},
+      " /LIBPATH:$ERL_EI_LIBDIR ei.lib"},
      {"win32", "DRV_CFLAGS", "/Zi /Wall $ERL_CFLAGS"},
      {"win32", "DRV_LDFLAGS", "/DLL $ERL_LDFLAGS"}
     ].

Reply via email to