[nginx] Win32: defined pdb path.
Maxim Dounin
mdounin at mdounin.ru
Thu Apr 4 18:59:15 UTC 2019
details: https://hg.nginx.org/nginx/rev/955c4b186354
branches:
changeset: 7488:955c4b186354
user: Maxim Dounin <mdounin at mdounin.ru>
date: Thu Apr 04 19:30:47 2019 +0300
description:
Win32: defined pdb path.
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.
diffstat:
auto/cc/msvc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/auto/cc/msvc b/auto/cc/msvc
--- a/auto/cc/msvc
+++ b/auto/cc/msvc
@@ -108,7 +108,7 @@ CORE_LIBS="$CORE_LIBS kernel32.lib user3
# 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
More information about the nginx-devel
mailing list