diff options
-rw-r--r-- | meta-oe/recipes-core/glfw/glfw_3.3.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.bb b/meta-oe/recipes-core/glfw/glfw_3.3.bb index 5b0d61241e..f4d983a6e0 100644 --- a/meta-oe/recipes-core/glfw/glfw_3.3.bb +++ b/meta-oe/recipes-core/glfw/glfw_3.3.bb | |||
@@ -20,17 +20,17 @@ EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF" | |||
20 | 20 | ||
21 | CFLAGS += "-fPIC" | 21 | CFLAGS += "-fPIC" |
22 | 22 | ||
23 | DEPENDS = "libpng libglu zlib" | 23 | DEPENDS = "libpng zlib" |
24 | REQUIRED_DISTRO_FEATURES = "opengl" | 24 | REQUIRED_DISTRO_FEATURES = "opengl x11" |
25 | ANY_OF_DISTRO_FEATURES = "wayland x11" | 25 | ANY_OF_DISTRO_FEATURES = "wayland x11" |
26 | 26 | ||
27 | # upstream considers x11 and wayland backends mutually exclusive and will | 27 | # upstream considers x11 and wayland backends mutually exclusive and will |
28 | # prioritize wayland if it is enabled, but wayland has dependencies that cannot | 28 | # prioritize wayland if it is enabled, but wayland has dependencies that cannot |
29 | # be satisfied by this layer so it is disabled by default | 29 | # be satisfied by this layer so it is disabled by default |
30 | 30 | ||
31 | PACKAGECONFIG ??= "x11" | 31 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
32 | 32 | ||
33 | PACKAGECONFIG[wayland] = "-DGLFW_USE_WAYLAND=ON,,wayland wayland-native wayland-protocols extra-cmake-modules libxkbcommon" | 33 | PACKAGECONFIG[wayland] = "-DGLFW_USE_WAYLAND=ON,,wayland wayland-native wayland-protocols extra-cmake-modules libxkbcommon" |
34 | PACKAGECONFIG[x11] = ",,libxrandr libxinerama libxi libxcursor" | 34 | PACKAGECONFIG[x11] = ",,libxrandr libxinerama libxi libxcursor libglu" |
35 | 35 | ||
36 | COMPATIBLE_HOST:libc-musl = "null" | 36 | COMPATIBLE_HOST:libc-musl = "null" |