Skip to content

Commit 5298b41

Browse files
committed
Add the cwg to the prebuilt module cache path.
Some modules (produced by rootcling) are located in the cwg and they should be resolved from there without being rebuilt.
1 parent 73e0e0a commit 5298b41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interpreter/cling/lib/Interpreter/CIFactory.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ static void stringifyPreprocSetting(PreprocessorOptions& PPOpts,
10861086
auto& HS = CI->getHeaderSearchOpts();
10871087
addPrebuiltModulePaths(HS, getPathsFromEnv(getenv("LD_LIBRARY_PATH")));
10881088
addPrebuiltModulePaths(HS, getPathsFromEnv(getenv("DYLD_LIBRARY_PATH")));
1089+
HS.AddPrebuiltModulePath(".");
10891090
}
10901091

10911092
// Set up compiler language and target

0 commit comments

Comments
 (0)