[LLD][Cygwin] Add libcygwin and libmsys-2.0 to exclude-from-auto-export library list (#143118)

Linking for Cygwin target always needs -lcygwin (and, -lmsys-2.0
instead for MSYS2 target) but should not auto-export from
them, same as -lmingw32 for MinGW target.
This commit is contained in:
Tomohiro Kashiwada 2025-06-09 02:06:03 +09:00 committed by GitHub
parent 73a351e7d4
commit 89aef7e060
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,8 @@ AutoExporter::AutoExporter(
"libclang_rt.profile-arm",
"libclang_rt.profile-i386",
"libclang_rt.profile-x86_64",
"libcygwin",
"libmsys-2.0",
"libc++",
"libc++abi",
"libflang_rt.runtime",