You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2021/10/01 03:40:07 UTC

[couchdb-rebar] branch main updated: Remove liberl_interface from port compiler on Windows

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4d43439  Remove liberl_interface from port compiler on Windows
4d43439 is described below

commit 4d43439f5c2101463a44e1179b76ee2433125e40
Author: Nick Vatamaniuc <va...@apache.org>
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"}
     ].