Warning, /packaging/yocto-meta-kde/recipes-support/telepathy-qt/0001-cross-compilation-fix.patch is written in an unsupported language. File is not indexed.
0001 From 8e6033b77438b58005cd7cf9d37dbc78e496f9e9 Mon Sep 17 00:00:00 2001 0002 From: Volker Krause <vkrause@kde.org> 0003 Date: Sat, 18 Nov 2017 11:58:39 +0100 0004 Subject: [PATCH] Add recipe for plasma-phone-components 0005 0006 commit 18af404679a4cf537adcd328a4dec8d63f2d9b7e 0007 0008 Fix cross-compilation 0009 0010 find_file() changes behavior during cross-compilation and only considers 0011 files from the target sysroot. Instead, use the fact that the file we 0012 are looking for is always right next to us. 0013 0014 --- 0015 cmake/modules/FindPythonLibrary.cmake | 2 +- 0016 1 file changed, 1 insertion(+), 1 deletion(-) 0017 0018 diff --git a/cmake/modules/FindPythonLibrary.cmake b/cmake/modules/FindPythonLibrary.cmake 0019 index 3c64dab5..c9edd9de 100644 0020 --- a/cmake/modules/FindPythonLibrary.cmake 0021 +++ b/cmake/modules/FindPythonLibrary.cmake 0022 @@ -32,7 +32,7 @@ else() 0023 FIND_PACKAGE(PythonInterp ${PythonLibrary_FIND_VERSION} QUIET) 0024 0025 if(PYTHONINTERP_FOUND) 0026 - FIND_FILE(_find_lib_python_py FindLibPython.py PATHS ${CMAKE_MODULE_PATH}) 0027 + SET(_find_lib_python_py ${CMAKE_CURRENT_LIST_DIR}/FindLibPython.py) 0028 0029 EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${_find_lib_python_py} OUTPUT_VARIABLE python_config) 0030 if(python_config)