msvc8 compatibility: it can not build with debug under Wine

This commit is contained in:
Igor Sysoev
2007-11-15 14:22:12 +00:00
parent 0ebcba57f0
commit a7e01da163
2 changed files with 12 additions and 2 deletions

View File

@@ -91,8 +91,10 @@ CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib"
CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup"
# debug
CFLAGS="$CFLAGS -Zi"
CORE_LINK="$CORE_LINK -debug"
if [ $NGX_CC_NAME != msvc8 ]; then
CFLAGS="$CFLAGS -Zi"
CORE_LINK="$CORE_LINK -debug"
fi
# precompiled headers