diff --git a/recipes-example/example/example_0.1.bb b/recipes-example/example/example_0.1.bb index 600dd68..e89cfed 100644 --- a/recipes-example/example/example_0.1.bb +++ b/recipes-example/example/example_0.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda inherit pkgconfig -DEPENDS += "libsdl2" +DEPENDS += " libsdl2 mesa virtual/libgles2 virtual/libgl " FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI = "file://sdl_test.cpp file://sdlgl.c file://sdlglshader.c" TARGET_CC_ARCH += "${LDFLAGS}" diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend index 3bde0fc..1990f0c 100644 --- a/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend @@ -1,4 +1,4 @@ -DEPENS += " mesa libdrm alsa virtual/libgbm virtual/libgles2 udev libudev " +DEPENS += " mesa libdrm alsa virtual/libgbm virtual/libgles2 virtual/libgl udev libudev " PACKAGECONFIG = " kmsdrm opengl gles2 alsa libusb " # PACKAGECONFIG:remove = "x11 wayland" \ No newline at end of file