libwebsockets: Avoid absolute paths in *.cmake files in the sysroot
Please cherry-pick this to Kirkstone.
//Peter
Quoted 22 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 10 maj 2022 18:08
To: [email protected]
Subject: [oe] [master][kirkstone][meta-oe][PATCH] libwebsockets: Avoid absolute paths in *.cmake files in the sysrootSigned-off-by Peter Kjellerstedt <[email protected]>--- .../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@@ -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"