summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorPiotr Sikora <piotr@aviatrix.com>2024-02-26 20:00:48 +0000
committerPiotr Sikora <piotr@aviatrix.com>2024-02-26 20:00:48 +0000
commite3207a17f084c9eb7905ca0f2cfdb1df088fd165 (patch)
tree28ac573e2736b4e23fe271b8c5acab08e4be2a94 /auto
parentb595a68df91bee1eb0fa2841837dcf83ae9174f2 (diff)
downloadnginx-e3207a17f084c9eb7905ca0f2cfdb1df088fd165.tar.gz
nginx-e3207a17f084c9eb7905ca0f2cfdb1df088fd165.tar.bz2
Configure: allow cross-compiling to Windows using Clang.
Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
Diffstat (limited to 'auto')
-rw-r--r--auto/os/win322
1 files changed, 1 insertions, 1 deletions
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"