mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Autolink Extract] Filter out StringProcessing library from being linked more than once.
We cannot filter all libraries because duplicate -l flags have a semantic meaning based on their order, but filtering out just the common Swift libraries should yield a good size improvement already and is safe.
This commit is contained in:
@@ -249,6 +249,8 @@ int autolink_extract_main(ArrayRef<const char *> Args, const char *Argv0,
|
||||
{"-lswiftSwiftOnoneSupport", false},
|
||||
{"-lswiftCore", false},
|
||||
{"-lswift_Concurrency", false},
|
||||
{"-lswift_StringProcessing", false},
|
||||
{"-lswift_RegexParser", false}
|
||||
};
|
||||
|
||||
// Extract the linker flags from the objects.
|
||||
|
||||
Reference in New Issue
Block a user