From bfc6e0e2425762fc58165bbf6be6c54923a2bf0719f5b611bb617ef3dfa8ee8e Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Tue, 23 Oct 2018 14:16:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=15 --- lib64.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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) {