package/libglvnd: fix LIBGLVND_CONF_OPTS

LIBGLVND_CONF_OPTS are wrongly overridden in conditionals since the
addition of the package in commit
0378e2e5d9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-02-17 18:19:06 +01:00 committed by Yann E. MORIN
parent cc9470c2d8
commit 09a1511abd

View File

@ -37,17 +37,17 @@ LIBGLVND_CONF_OPTS += -Dglx=disabled
endif
ifeq ($(BR2_PACKAGE_LIBGLVND_DISPATCH_EGL),y)
LIBGLVND_CONF_OPTS = -Degl=true
LIBGLVND_CONF_OPTS += -Degl=true
LIBGLVND_PROVIDES += libegl
else
LIBGLVND_CONF_OPTS = -Degl=false
LIBGLVND_CONF_OPTS += -Degl=false
endif
ifeq ($(BR2_PACKAGE_LIBGLVND_DISPATCH_GLES),y)
LIBGLVND_CONF_OPTS = -Dgles1=true -Dgles2=true
LIBGLVND_CONF_OPTS += -Dgles1=true -Dgles2=true
LIBGLVND_PROVIDES += libgles
else
LIBGLVND_CONF_OPTS = -Dgles1=false -Dgles2=false
LIBGLVND_CONF_OPTS += -Dgles1=false -Dgles2=false
endif
$(eval $(meson-package))