diff --git a/interpreter/cling/lib/Interpreter/CIFactory.cpp b/interpreter/cling/lib/Interpreter/CIFactory.cpp index c8cccc0942b4d21d2b4f062bb5500c0a23d97878..780ec003093ee99a0de33030b7450c76845e62c7 100644 --- a/interpreter/cling/lib/Interpreter/CIFactory.cpp +++ b/interpreter/cling/lib/Interpreter/CIFactory.cpp @@ -1086,6 +1086,7 @@ static void stringifyPreprocSetting(PreprocessorOptions& PPOpts, auto& HS = CI->getHeaderSearchOpts(); addPrebuiltModulePaths(HS, getPathsFromEnv(getenv("LD_LIBRARY_PATH"))); addPrebuiltModulePaths(HS, getPathsFromEnv(getenv("DYLD_LIBRARY_PATH"))); + HS.AddPrebuiltModulePath("."); } // Set up compiler language and target