[nginx] Win32: fixed link flags with MSVC, broken by bfe536716dbf.

Maxim Dounin mdounin at mdounin.ru
Mon Apr 7 15:18:25 UTC 2014


details:   http://hg.nginx.org/nginx/rev/ce98b460606e
branches:  
changeset: 5639:ce98b460606e
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Mon Apr 07 18:29:05 2014 +0400
description:
Win32: fixed link flags with MSVC, broken by bfe536716dbf.

Notably, "-debug" was omitted, resulting in an executable without debug
symbols.

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
@@ -106,7 +106,7 @@ fi
 
 # precompiled headers
 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
-CORE_LINK="$NGX_OBJS/ngx_pch.obj"
+CORE_LINK="$CORE_LINK $NGX_OBJS/ngx_pch.obj"
 NGX_PCH="$NGX_OBJS/ngx_config.pch"
 NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch"
 NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch"



More information about the nginx-devel mailing list