[PATCH] Use .exe for binaries for all win32 compilers

Orgad Shaneh orgads at gmail.com
Tue Nov 29 09:32:03 UTC 2016


Hi,

I'm not sure if this is the right place to do this. Please review and comment.

# HG changeset patch
# User Orgad Shaneh <orgads at gmail.com>
# Date 1480411801 -7200
#      Tue Nov 29 11:30:01 2016 +0200
# Node ID 017b0c3afbbf960b9f29a892a82a77e9f17b6774
# Parent  e036a4628d9cc8803579d7d41848d528488eca6d
Use .exe for binaries for all win32 compilers

diff -r e036a4628d9c -r 017b0c3afbbf auto/cc/conf
--- a/auto/cc/conf      Tue Nov 29 09:37:45 2016 +0200
+++ b/auto/cc/conf      Tue Nov 29 11:30:01 2016 +0200
@@ -144,7 +144,9 @@
 CFLAGS="$CFLAGS $NGX_CC_OPT"
 NGX_TEST_LD_OPT="$NGX_LD_OPT"

-if [ "$NGX_PLATFORM" != win32 ]; then
+if [ "$NGX_PLATFORM" = win32 ]; then
+    ngx_binext=".exe"
+else

     if test -n "$NGX_LD_OPT"; then
         ngx_feature=--with-ld-opt=\"$NGX_LD_OPT\"



More information about the nginx-devel mailing list