[meta-oe] libvdpau: allow to build native and nativesdk

Message ID 20220317150224.217641-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-oe] libvdpau: allow to build native and nativesdk | expand

Commit Message

Markus Volk March 17, 2022, 3:02 p.m. UTC
This fixes an error if trying to add libvdpau to mesa PACKAGECONFIG
---
 meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb
index 1dc3b9acd..db3c04558 100644
--- a/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb
+++ b/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb
@@ -21,3 +21,5 @@  do_install:append() {
 FILES:${PN}-dbg += "${libdir}/vdpau/.debug"
 FILES:${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}"
 FILES:${PN} += "${libdir}/vdpau/lib*${SOLIBS}"
+
+BBCLASSEXTEND = "native nativesdk"