Files
MINGW-packages/mingw-w64-cppcheck/002-cppcheck-2.2-change-cfg-path.patch
T

12 lines
439 B
Diff

--- a/lib/library.cpp
+++ b/lib/library.cpp
@@ -217,7 +217,7 @@
#endif
if (exename) {
const std::string exepath(Path::fromNativeSeparators(Path::getPathFromFilename(Path::getCurrentExecutablePath(exename))));
- cfgfolders.push_back(exepath + "cfg");
+ cfgfolders.push_back(exepath + "../share/cppcheck/cfg");
cfgfolders.push_back(exepath);
}