]> git.kaiwu.me - nginx.git/commitdiff
Configure: added explicit ngx_binext to the linker output argument.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 30 Jan 2019 16:28:27 +0000 (19:28 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 30 Jan 2019 16:28:27 +0000 (19:28 +0300)
Unlike with GCC or MSVC, Clang linker doesn't auto-append ".exe" to the name
of the output binary when building on win32.

auto/make

index 7ddd1007b630cc0a84ae49d014240988dd84c0a0..34c40cdd51db19710da05175f262beab4c25e85c 100644 (file)
--- a/auto/make
+++ b/auto/make
@@ -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