diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2019-04-04 19:30:47 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2019-04-04 19:30:47 +0300 |
commit | df8cb313697a9c2574db30be2e494656265c1f59 (patch) | |
tree | 5527d439b5f3d8c74d76ebdc264d8fa345cf5a53 | |
parent | ce912de835153ce465b4a192e291ef0b96806baa (diff) |
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.
-rw-r--r-- | auto/cc/msvc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |