Re-attach the standard modulemaps on osx.
This should fix the regressed runtime_cxxmodules on osx. Patch by Alexander Penev!
This commit is contained in:
parent
9d0f9fe227
commit
ae36b2aed0
@ -629,6 +629,14 @@ namespace {
|
||||
llvm::SmallString<512> clingModuleMap(clingIncLoc);
|
||||
llvm::sys::path::append(clingModuleMap, "module.modulemap");
|
||||
ModuleMapFiles.push_back(clingModuleMap.str().str());
|
||||
#ifdef __APPLE__
|
||||
llvm::SmallString<512> libcModuleMap(cIncLoc);
|
||||
llvm::sys::path::append(libcModuleMap, "module.modulemap");
|
||||
ModuleMapFiles.push_back(libcModuleMap.str().str());
|
||||
llvm::SmallString<512> stdModuleMap(stdIncLoc);
|
||||
llvm::sys::path::append(stdModuleMap, "module.modulemap");
|
||||
ModuleMapFiles.push_back(stdModuleMap.str().str());
|
||||
#endif // __APPLE__
|
||||
}
|
||||
|
||||
std::string MOverlay;
|
||||
|
Loading…
x
Reference in New Issue
Block a user