mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00: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:
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)}"
|
||||
Reference in New Issue
Block a user