Skip to contentSkip to conversation

libwebsockets: Avoid absolute paths in *.cmake files in the sysroot

PATCH New Peter Kjellerstedt 1 participant 1 message May 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libwebsockets: Avoid absolute paths in *.cmake files in the sysroot

---
 .../recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb  | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb +3 -0
index a5fcb8d72..2a3a4ebd0 100644
@@ -41,3 +41,6 @@ RDEPENDS:${PN} += " ${@bb.utils.contains('PACKAGECONFIG', 'libuv', '${PN}-evlib-
 RDEPENDS:${PN} += " ${@bb.utils.contains('PACKAGECONFIG', 'libev', '${PN}-evlib-ev', '', d)}"
 
 RDEPENDS:${PN}-dev += " ${@bb.utils.contains('PACKAGECONFIG', 'static', '${PN}-staticdev', '', d)}"
+
+# Avoid absolute paths to end up in the sysroot.
+SSTATE_SCAN_FILES += "*.cmake"