vlc: fix glx support

glx support is provided by the mesa3d package; so, enable it only when
mesa3d is part of the package selection.

Fixes:
  http://autobuild.buildroot.org/results/9b4/9b46021ea0064850ce8f1adcb5455d6da5bff459/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Samuel Martin 2014-02-09 13:47:11 +01:00 committed by Peter Korsgaard
parent 39a3e21e10
commit 4b79dfc94e

View File

@ -101,6 +101,13 @@ else
VLC_CONF_OPT += --disable-flac
endif
ifeq ($(BR2_PACKAGE_MESA3D),y)
VLC_CONF_OPT += --enable-glx
VLC_DEPENDENCIES += mesa3d
else
VLC_CONF_OPT += --disable-glx
endif
ifeq ($(BR2_PACKAGE_OPUS),y)
VLC_CONF_OPT += --enable-opus
VLC_DEPENDENCIES += opus