[stdlib] Static stdlib requires explicit -licucore

This commit is contained in:
Michael Ilseman
2017-05-18 12:08:17 -07:00
parent f023fcefac
commit 0de2425112

View File

@@ -1240,6 +1240,7 @@ toolchains::Darwin::constructInvocation(const LinkJobAction &job,
Arguments.push_back("-framework");
Arguments.push_back("Foundation");
Arguments.push_back("-force_load_swift_libs");
Arguments.push_back("-licucore");
} else {
Arguments.push_back(context.Args.MakeArgString(RuntimeLibPath));
}