diff --git a/auto/cc/msvc b/auto/cc/msvc index ff7dc90..075f08b 100644 --- a/auto/cc/msvc +++ b/auto/cc/msvc @@ -107,7 +107,7 @@ CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib" # msvc under Wine issues # C1902: Program database manager mismatch; please check your installation if [ -z "$NGX_WINE" ]; then - CFLAGS="$CFLAGS -Zi" + CFLAGS="$CFLAGS -Zi -Fd$NGX_OBJS/nginx.pdb" CORE_LINK="$CORE_LINK -debug" fi diff --git a/misc/GNUmakefile b/misc/GNUmakefile index bf91174..2a71ce0 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -82,7 +82,7 @@ win32: --with-mail \ --with-stream \ --with-openssl=$(OBJS)/lib/$(OPENSSL) \ - --with-openssl-opt=no-asm \ + --with-openssl-opt="no-asm no-tests -D_WIN32_WINNT=0x0501" \ --with-http_ssl_module \ --with-mail_ssl_module \ --with-stream_ssl_module