Skip to content

Commit 966af25

Browse files
gwynneMaxDesiatov
authored andcommitted
Update autolink_extract_main.cpp
1 parent c458593 commit 966af25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/DriverTool/autolink_extract_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ int autolink_extract_main(ArrayRef<const char *> Args, const char *Argv0,
246246
// Swift libraries that usually have autolink directives
247247
// in most object files
248248
std::unordered_map<std::string, bool> SwiftRuntimeLibraries = {
249+
// XCTest runtime libs (must be first due to http://github.com/apple/swift-corelibs-xctest/issues/432)
250+
{"-lXCTest", false},
249251
// Common Swift runtime libs
250252
{"-lswiftSwiftOnoneSupport", false},
251253
{"-lswiftCore", false},
@@ -269,8 +271,6 @@ int autolink_extract_main(ArrayRef<const char *> Args, const char *Argv0,
269271
{"-lcurl", false},
270272
{"-lxml2", false},
271273
{"-luuid", false},
272-
// XCTest runtime libs (due to an RPATH bug, this must come after Foundation)
273-
{"-lXCTest", false},
274274
// ICU Swift runtime libs
275275
{"-licui18nswift", false},
276276
{"-licuucswift", false},

0 commit comments

Comments
 (0)