# HG changeset patch
# User Piotr Sikora <piotr@aviatrix.com>
# Date 1708977648 0
# Mon Feb 26 20:00:48 2024 +0000
# Branch patch019
# Node ID 77eab4d83413b053d9681611d243335a95ee5567
# Parent ea1ab31c166c52372b40429a1cccece9ec9e003b
Configure: allow cross-compiling to Windows using Clang.
Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
diff -r ea1ab31c166c -r 77eab4d83413 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 @@
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