]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libepoxy: Disable x11 when not building for x11
authorAndrew F. Davis <afd@ti.com>
Fri, 13 Sep 2019 19:36:11 +0000 (15:36 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Sep 2019 11:08:56 +0000 (12:08 +0100)
Although glx support is turned off, the build still tries to pull in some
x11 components, disable x11 explicitly.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb

index c8d1650c63705641df26685734841a312d8cbedf..825453ab28e75612a756b9690e7ee56d7ed34782 100644 (file)
@@ -18,7 +18,7 @@ REQUIRED_DISTRO_FEATURES_class-native = ""
 REQUIRED_DISTRO_FEATURES_class-nativesdk = ""
 
 PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl"
-PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl"
+PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no -Dx11=false, virtual/libx11 virtual/libgl"
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl"
 
 EXTRA_OEMESON += "-Dtests=false"