diff --git a/lib64.patch b/lib64.patch index 9eae92e..741bdf4 100644 --- a/lib64.patch +++ b/lib64.patch @@ -20,3 +20,16 @@ index 1af84fc..843761f 100644 set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) if (WIN32) +diff --git a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp +index 74cad05..ff02e6d 100644 +--- a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp ++++ b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp +@@ -268,7 +268,7 @@ static QString findClangBuiltInIncludesDir() + if (!clangPath.isEmpty()) { + QString candidate; + QVersionNumber lastVersionNumber(1, 0, 0); +- QDir clangDir(clangPath + QLatin1String("/lib/clang")); ++ QDir clangDir(clangPath + QLatin1String("/lib64/clang")); + const QFileInfoList versionDirs = + clangDir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot); + for (const QFileInfo &fi : versionDirs) {