summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/cc9
-rw-r--r--auto/os/conf3
2 files changed, 10 insertions, 2 deletions
diff --git a/auto/cc b/auto/cc
index 1aadae34f..082b13f75 100644
--- a/auto/cc
+++ b/auto/cc
@@ -95,8 +95,13 @@ case $CC in
# link flags
CORE_LINK="$CORE_LINK -link"
- CORE_LINK="$CORE_LINK -nodefaultlib:msvcrt"
- CORE_LINK="$CORE_LINK -nodefaultlib:libcpmt"
+
+ # msvcrt.dll
+ CORE_LINK="$CORE_LINK -nodefaultlib:libcmt"
+
+ # static libc
+ #CORE_LINK="$CORE_LINK -nodefaultlib:msvcrt"
+
CORE_LINK="$CORE_LINK -verbose:lib"
# debug
diff --git a/auto/os/conf b/auto/os/conf
index d0eb7876d..f0d25b647 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -35,6 +35,9 @@ case $PLATFORM in
CFLAGS="$CFLAGS -D HAVE_AIO=1 -D HAVE_IOCP=1"
CORE_LIBS="$CORE_LIBS ws2_32.lib"
+
+ # msvcrt.dll
+ CORE_LIBS="$CORE_LIBS msvcrt.lib"
;;
esac