Skip to content

Commit

Permalink
Win32: defined pdb path.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdounin committed Apr 4, 2019
1 parent ce912de commit df8cb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto/cc/msvc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit df8cb31

Please sign in to comment.