[nginx] Configure: added explicit ngx_binext to the linker output argument.

Sergey Kandaurov pluknet at nginx.com
Thu Jan 31 11:56:10 UTC 2019


details:   https://hg.nginx.org/nginx/rev/2d9ab7717e23
branches:  
changeset: 7450:2d9ab7717e23
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Wed Jan 30 19:28:27 2019 +0300
description:
Configure: added explicit ngx_binext to the linker output argument.

Unlike with GCC or MSVC, Clang linker doesn't auto-append ".exe" to the name
of the output binary when building on win32.

diffstat:

 auto/make |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3c51385e5da1 -r 2d9ab7717e23 auto/make
--- a/auto/make	Mon Jan 28 14:34:02 2019 +0000
+++ b/auto/make	Wed Jan 30 19:28:27 2019 +0300
@@ -229,7 +229,7 @@ build:	binary modules manpage
 binary:	$NGX_OBJS${ngx_dirsep}nginx$ngx_binext
 
 $NGX_OBJS${ngx_dirsep}nginx$ngx_binext:	$ngx_deps$ngx_spacer
-	\$(LINK) $ngx_long_start$ngx_binout$NGX_OBJS${ngx_dirsep}nginx$ngx_long_cont$ngx_objs$ngx_libs$ngx_link$ngx_main_link
+	\$(LINK) $ngx_long_start$ngx_binout$NGX_OBJS${ngx_dirsep}nginx$ngx_binext$ngx_long_cont$ngx_objs$ngx_libs$ngx_link$ngx_main_link
 	$ngx_rcc
 $ngx_long_end
 


More information about the nginx-devel mailing list