configure: fix -L flags for lld-link

This commit is contained in:
wangbin
2025-08-15 23:14:47 +08:00
committed by Kacper Michajłow
parent 4558ad6a77
commit 048f6f4bd5

2
configure vendored
View File

@@ -5174,7 +5174,7 @@ probe_cc(){
# but we can force it back to gnu mode and get the version from there.
_ident=$($_cc -flavor gnu --version 2>/dev/null)
_ld_o='-out:$@'
_flags_filter=msvc_flags
_flags_filter=msvc_flags_link
_ld_lib='lib%.a'
_ld_path='-libpath:'
elif VSLANG=1033 $_cc -nologo- 2>&1 | grep -q ^Microsoft || { $_cc -v 2>&1 | grep -q clang && $_cc -? > /dev/null 2>&1; }; then