mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The latest OSX 10.9 SDKs have changed name of the ObjC module to ObjectiveC.
Update everywhere in Swift that refers to this module accordingly. This change is backwards-incompatible and will require rebuilding any Objective-C-based object files. I recommend a clean of swiftFoundation and NSStringDemo at the very least. The swiftObjC target is also being renamed to swiftObjectiveC for consistency. Swift SVN r3784
This commit is contained in:
@@ -127,7 +127,7 @@ static bool IRGenImportedModules(TranslationUnit *TU,
|
||||
StringRef sharedLibName
|
||||
= llvm::StringSwitch<StringRef>(SubTU->Name.str())
|
||||
.Case("Foundation", "libswiftFoundation.dylib")
|
||||
.Case("ObjC", "libswiftObjC.dylib")
|
||||
.Case("ObjectiveC", "libswiftObjectiveC.dylib")
|
||||
.Default("");
|
||||
if (!sharedLibName.empty()) {
|
||||
loadRuntimeLib(sharedLibName);
|
||||
|
||||
Reference in New Issue
Block a user