From 48dfba99f532bfa25dad07e2203be6c5941df9b3 Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Tue, 3 Sep 2024 21:27:33 +0530 Subject: [PATCH] Update list of Swift runtime libraries to be de-duplicated, so the autolink-extract tool doesn't repeat them over and over again --- lib/DriverTool/autolink_extract_main.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/DriverTool/autolink_extract_main.cpp b/lib/DriverTool/autolink_extract_main.cpp index c74a473fce0e9..84bb984485fcb 100644 --- a/lib/DriverTool/autolink_extract_main.cpp +++ b/lib/DriverTool/autolink_extract_main.cpp @@ -228,7 +228,7 @@ int autolink_extract_main(ArrayRef Args, const char *Argv0, "-lswiftCore", "-lswift_Concurrency", "-lswift_StringProcessing", - "-lswift_RegexBuilder", + "-lswiftRegexBuilder", "-lswift_RegexParser", "-lswift_Backtracing", "-lswiftGlibc", @@ -246,12 +246,9 @@ int autolink_extract_main(ArrayRef Args, const char *Argv0, "-lcurl", "-lxml2", "-luuid", + "-lTesting", // XCTest runtime libs (must be first due to http://github.com/apple/swift-corelibs-xctest/issues/432) "-lXCTest", - // ICU Swift runtime libs - "-licui18nswift", - "-licuucswift", - "-licudataswift", // Common-use ordering-agnostic Linux system libs "-lm", "-lpthread",