mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
Configure: allow cross-compiling to Windows using Clang.
Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
This commit is contained in:
parent
b595a68df9
commit
e3207a17f0
@ -18,7 +18,7 @@ ngx_binext=".exe"
|
|||||||
|
|
||||||
case "$NGX_CC_NAME" in
|
case "$NGX_CC_NAME" in
|
||||||
|
|
||||||
gcc)
|
clang | gcc)
|
||||||
CORE_LIBS="$CORE_LIBS -ladvapi32 -lws2_32"
|
CORE_LIBS="$CORE_LIBS -ladvapi32 -lws2_32"
|
||||||
MAIN_LINK="$MAIN_LINK -Wl,--export-all-symbols"
|
MAIN_LINK="$MAIN_LINK -Wl,--export-all-symbols"
|
||||||
MAIN_LINK="$MAIN_LINK -Wl,--out-implib=$NGX_OBJS/libnginx.a"
|
MAIN_LINK="$MAIN_LINK -Wl,--out-implib=$NGX_OBJS/libnginx.a"
|
||||||
|
Loading…
Reference in New Issue
Block a user