diff mbox series

[meta-oe] freerdp3: add bindir to SYSROOT_DIRS

Message ID 20250825131418.2741396-1-marc.ferland@sonatest.com
State New
Headers show
Series [meta-oe] freerdp3: add bindir to SYSROOT_DIRS | expand

Commit Message

Marc Ferland Aug. 25, 2025, 1:14 p.m. UTC
From: Marc Ferland <marc.ferland@sonatest.com>

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 <marc.ferland@sonatest.com>
---
 meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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}"