]> git.kaiwu.me - nginx.git/commitdiff
Win32: defined pdb path.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 4 Apr 2019 16:30:47 +0000 (19:30 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 4 Apr 2019 16:30:47 +0000 (19:30 +0300)
By default, MSVC uses vc<version>.pdb in the current directory.
With the "-Fd" switch it is directed to be in the objs directory instead.

auto/cc/msvc

index 8257252997d02fae3fc138fd65d7429197d57dab..68435ff48a78b88aab289fec315e0d6dec949be6 100644 (file)
@@ -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