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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git

commit 5daada9fbd4337d0cc2097921c0fa6781019157c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 22 16:41:56 2025 +0100

    Exclude msvcrt.lib when producing hybrid build
---
 native/NMAKEmakefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/NMAKEmakefile.inc b/native/NMAKEmakefile.inc
index 2ed45329d..a8488aa29 100644
--- a/native/NMAKEmakefile.inc
+++ b/native/NMAKEmakefile.inc
@@ -266,7 +266,7 @@ OPT_LFLAGS = /INCREMENTAL:NO /DEBUG
 !IF "$(BUILD)" == "RELEASE"
 OPT_LFLAGS = /OPT:REF $(OPT_LFLAGS)
 !IF DEFINED(STATIC_CRT) && "$(STATIC_CRT)" == "Hybrid"
-OPT_LFLAGS = $(OPT_LFLAGS) /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib
+OPT_LFLAGS = $(OPT_LFLAGS) /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:libucrt.lib 
/DEFAULTLIB:ucrt.lib
 !ENDIF
 !ENDIF
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to