--- a/lib/library.cpp	2020-10-03 11:05:53.000000000 +0200
+++ b/lib/library.cpp	2020-10-17 17:58:26.618718600 +0200
@@ -101,7 +101,7 @@
 #endif
         if (exename) {
             const std::string exepath(Path::fromNativeSeparators(Path::getPathFromFilename(exename)));
-            cfgfolders.push_back(exepath + "cfg");
+            cfgfolders.push_back(exepath + "../share/cppcheck/cfg");
             cfgfolders.push_back(exepath);
         }
 
