From e3207a17f084c9eb7905ca0f2cfdb1df088fd165 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 26 Feb 2024 20:00:48 +0000 Subject: [PATCH] Configure: allow cross-compiling to Windows using Clang. Signed-off-by: Piotr Sikora --- auto/os/win32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/os/win32 b/auto/os/win32 index b821ae6d8..bce764b54 100644 --- a/auto/os/win32 +++ b/auto/os/win32 @@ -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"