Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Configure: allow cross-compiling to Windows using Clang.
Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
  • Loading branch information
PiotrSikora committed Feb 26, 2024
1 parent b595a68 commit e3207a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto/os/win32
Expand Up @@ -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"
Expand Down

0 comments on commit e3207a1

Please sign in to comment.