Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: allow cross-compiling to Windows using Clang.

Sergey Kandaurov
March 27, 2024 01:50PM
details: https://hg.nginx.org/nginx/rev/99e7050ac886
branches:
changeset: 9235:99e7050ac886
user: Piotr Sikora <piotr@aviatrix.com>
date: Mon Feb 26 20:00:48 2024 +0000
description:
Configure: allow cross-compiling to Windows using Clang.

Signed-off-by: Piotr Sikora <piotr@aviatrix.com>

diffstat:

auto/os/win32 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c2e753d214b0 -r 99e7050ac886 auto/os/win32
--- a/auto/os/win32 Mon Feb 26 20:00:46 2024 +0000
+++ b/auto/os/win32 Mon Feb 26 20:00:48 2024 +0000
@@ -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"
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: allow cross-compiling to Windows using Clang.

Sergey Kandaurov 181 March 27, 2024 01:50PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready