diff options
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/cc | 9 | ||||
| -rw-r--r-- | auto/os/conf | 3 |
2 files changed, 10 insertions, 2 deletions
@@ -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 |
