diff options
Diffstat (limited to 'meta/recipes-graphics/waffle')
-rw-r--r-- | meta/recipes-graphics/waffle/waffle_1.5.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/waffle/waffle_1.5.2.bb b/meta/recipes-graphics/waffle/waffle_1.5.2.bb index f7db1bc955..9d6b0e0e0d 100644 --- a/meta/recipes-graphics/waffle/waffle_1.5.2.bb +++ b/meta/recipes-graphics/waffle/waffle_1.5.2.bb | |||
@@ -20,6 +20,9 @@ PACKAGECONFIG ??= "glx" | |||
20 | # libx11 requires x11 in DISTRO_FEATURES. | 20 | # libx11 requires x11 in DISTRO_FEATURES. |
21 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'glx', 'x11', '', d)}" | 21 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'glx', 'x11', '', d)}" |
22 | 22 | ||
23 | # virtual/libgl requires opengl in DISTRO_FEATURES. | ||
24 | REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/libgl', 'opengl', '', d)}" | ||
25 | |||
23 | # I say virtual/libgl, actually wants gl.pc | 26 | # I say virtual/libgl, actually wants gl.pc |
24 | PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,-Dwaffle_has_glx=0,virtual/libgl libx11" | 27 | PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,-Dwaffle_has_glx=0,virtual/libgl libx11" |
25 | 28 | ||