package/mesa3d: fix glvnd option handling
- enable glvnd option only in case OPENGL_GLX or OPENGL_EGL is enabled Fixes: - http://autobuild.buildroot.net/results/e97ad48f20a325f5757754a8be2bdb613c86e4ea .../build/mesa3d-21.3.3/meson.build:542:4: ERROR: Problem encountered: glvnd requires DRI based GLX and/or EGL Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
7c1bb5c2bf
commit
ac5ab240f1
@ -271,10 +271,14 @@ MESA3D_CFLAGS += -mlong-jump-table-offsets
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLVND),y)
|
||||
ifneq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),)
|
||||
MESA3D_DEPENDENCIES += libglvnd
|
||||
MESA3D_CONF_OPTS += -Dglvnd=true
|
||||
else
|
||||
MESA3D_CONF_OPTS += -Dglvnd=false
|
||||
endif
|
||||
else
|
||||
MESA3D_CONF_OPTS += -Dglvnd=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
|
Loading…
Reference in New Issue
Block a user