diff --git a/packages/conan/recipes/pyside/patches/libpython_in_lib64.diff b/packages/conan/recipes/pyside/patches/libpython_in_lib64.diff index 284ca79e..038a9730 100644 --- a/packages/conan/recipes/pyside/patches/libpython_in_lib64.diff +++ b/packages/conan/recipes/pyside/patches/libpython_in_lib64.diff @@ -1,11 +1,13 @@ --- a/build_scripts/build_info_collector.py +++ b/build_scripts/build_info_collector.py -@@ -65,7 +65,7 @@ +@@ -65,8 +65,8 @@ py_include_dir): """Helper for finding the Python library on UNIX""" if py_libdir is None or not Path(py_libdir).exists(): - py_libdir = Path(py_prefix) / "lib" +- if py_include_dir is None or not Path(py_include_dir).exists(): + py_libdir = Path(py_prefix) / "lib64" - if py_include_dir is None or not Path(py_include_dir).exists(): ++ if True or py_include_dir is None or not Path(py_include_dir).exists(): directory = f"include/python{py_version}" py_include_dir = Path(py_prefix) / directory + lib_exts = ['.so']