details:   https://hg.nginx.org/nginx/rev/99e7050ac886
branches:  
changeset: 9235:99e7050ac886
user:      Piotr Sikora <pi...@aviatrix.com>
date:      Mon Feb 26 20:00:48 2024 +0000
description:
Configure: allow cross-compiling to Windows using Clang.

Signed-off-by: Piotr Sikora <pi...@aviatrix.com>

diffstat:

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

diffs (12 lines):

diff -r c2e753d214b0 -r 99e7050ac886 auto/os/win32
--- a/auto/os/win32     Mon Feb 26 20:00:46 2024 +0000
+++ b/auto/os/win32     Mon Feb 26 20:00:48 2024 +0000
@@ -18,7 +18,7 @@ ngx_binext=".exe"
 
 case "$NGX_CC_NAME" in
 
-    gcc)
+    clang | gcc)
         CORE_LIBS="$CORE_LIBS -ladvapi32 -lws2_32"
         MAIN_LINK="$MAIN_LINK -Wl,--export-all-symbols"
         MAIN_LINK="$MAIN_LINK -Wl,--out-implib=$NGX_OBJS/libnginx.a"
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to