]> git.kaiwu.me - nginx.git/commitdiff
Configure: allow cross-compiling to Windows using Clang.
authorPiotr Sikora <piotr@aviatrix.com>
Mon, 26 Feb 2024 20:00:48 +0000 (20:00 +0000)
committerPiotr Sikora <piotr@aviatrix.com>
Mon, 26 Feb 2024 20:00:48 +0000 (20:00 +0000)
Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
auto/os/win32

index b821ae6d811a02329d81d3a68434608dcba39108..bce764b54bb6084e91f3b288274891cb59c7da91 100644 (file)
@@ -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"