diff options
| author | Piotr Sikora <piotr@aviatrix.com> | 2024-02-26 20:00:48 +0000 |
|---|---|---|
| committer | Piotr Sikora <piotr@aviatrix.com> | 2024-02-26 20:00:48 +0000 |
| commit | e3207a17f084c9eb7905ca0f2cfdb1df088fd165 (patch) | |
| tree | 28ac573e2736b4e23fe271b8c5acab08e4be2a94 /auto | |
| parent | b595a68df91bee1eb0fa2841837dcf83ae9174f2 (diff) | |
| download | nginx-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/win32 | 2 |
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" |
