mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
libsdl2: Add userland dependency when not using vc4graphics
Needed to provide KHR/khrplatform.h header Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
979fb504c3
commit
968dcd3f40
5
recipes-graphics/libsdl2/libsdl2_%.bbappend
Normal file
5
recipes-graphics/libsdl2/libsdl2_%.bbappend
Normal file
|
@ -0,0 +1,5 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
|
||||
# we explicitly delete KHR/khrplatform.h since its already coming from userland package
|
||||
DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"
|
Loading…
Reference in New Issue
Block a user