sdbus-c++: Support using alternative runtime D-Bus

In order to facilitate using e.g. dbus-broker as runtime D-Bus
implementation, change the Freedesktop.org specific D-Bus runtime
dependency declaration to honor oe-core's new VIRTUAL-RUNTIME_dbus
variable.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Niko Mauno 2025-04-04 10:51:44 +00:00 committed by Khem Raj
parent 0510811c4f
commit 0870c8a045
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -46,6 +46,6 @@ do_install_ptest() {
FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/"
FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp"
RDEPENDS:${PN}-ptest += "dbus"
RDEPENDS:${PN}-ptest += "${VIRTUAL-RUNTIME_dbus}"
# It adds -isystem which is spurious, no idea where it gets it from
CCACHE_DISABLE = "1"