summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2019-01-30 19:28:27 +0300
committerSergey Kandaurov <pluknet@nginx.com>2019-01-30 19:28:27 +0300
commit097b1121fdb314ad448b32fe3801177ec69530b5 (patch)
treec53d8cd561d9838e9ef2f024ca6aad70e1ae585f
parenta05e7555ce2ffa91f9b071f896e2541580628477 (diff)
downloadnginx-097b1121fdb314ad448b32fe3801177ec69530b5.tar.gz
nginx-097b1121fdb314ad448b32fe3801177ec69530b5.tar.bz2
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.
-rw-r--r--auto/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/make b/auto/make
index 7ddd1007b..34c40cdd5 100644
--- 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