]> git.kaiwu.me - nginx.git/commitdiff
Win32: fixed link flags with MSVC, broken by bfe536716dbf.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 7 Apr 2014 14:29:05 +0000 (18:29 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 7 Apr 2014 14:29:05 +0000 (18:29 +0400)
Notably, "-debug" was omitted, resulting in an executable without debug
symbols.

auto/cc/msvc

index 6cb8b3d58b3262476a4790824d8c6af66ac47225..393ba321499b1989f08c73ca83bb60e86a92c746 100644 (file)
@@ -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"