From 6c30f47645c3c16b81801d4427d04c2385daa4cd Mon Sep 17 00:00:00 2001 From: Marc Ferland Date: Mon, 25 Aug 2025 09:14:18 -0400 Subject: [PATCH] freerdp3: add bindir to SYSROOT_DIRS This is required in order to build krdp (KDE's remote desktop integration). The do_configure task for krdp expects both 'winpr-makecert3' and 'winpr-hash3' to be present, failure to do so results in: | CMake Error at /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRTargets.cmake:98 (message): | The imported target "winpr-makecert" references the file | | "/path/to/krdp/6.4.4/recipe-sysroot/usr/bin/winpr-makecert3" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | "/path/to/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRTargets.cmake" | | but not all the files it references. | | Call Stack (most recent call first): | /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRConfig.cmake:44 (include) | /path/to/krdp/6.4.4/recipe-sysroot-native/usr/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) | /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/FreeRDP3/FreeRDPConfig.cmake:2 (find_dependency) | CMakeLists.txt:45 (find_package) | | | -- Configuring incomplete, errors occurred! Signed-off-by: Marc Ferland Signed-off-by: Khem Raj --- meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb index 284f61c137..7f58820eb7 100644 --- a/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb +++ b/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb @@ -60,3 +60,4 @@ do_configure:append() { } FILES:${PN} += "${datadir}" +SYSROOT_DIRS += "${bindir}"