From df8cb313697a9c2574db30be2e494656265c1f59 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 4 Apr 2019 19:30:47 +0300 Subject: [PATCH] Win32: defined pdb path. By default, MSVC uses vc.pdb in the current directory. With the "-Fd" switch it is directed to be in the objs directory instead. --- auto/cc/msvc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/cc/msvc b/auto/cc/msvc index 825725299..68435ff48 100644 --- a/auto/cc/msvc +++ b/auto/cc/msvc @@ -108,7 +108,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