summaryrefslogtreecommitdiffstats
path: root/package/wine
diff options
context:
space:
mode:
authorAndré Hentschel <nerv@dawncrow.de>2015-03-21 16:38:23 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-04 00:18:05 +0200
commit981d614d9f60985a7f54968673d2e1e6b8799038 (patch)
tree426a1dea068a56220ef092ee08e8b2f0fd470a56 /package/wine
parent0eb659d04e7854a25be09c5358212a7bfcc39b2b (diff)
downloadbuildroot-981d614d9f60985a7f54968673d2e1e6b8799038.tar.gz
buildroot-981d614d9f60985a7f54968673d2e1e6b8799038.zip
wine: Add opengl dependency
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/wine')
-rw-r--r--package/wine/wine.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index a699fff953..bd242cffb0 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -26,7 +26,6 @@ WINE_CONF_OPTS = \
--without-netapi \
--without-openal \
--without-opencl \
- --without-opengl \
--without-osmesa \
--without-oss \
--without-xshape \
@@ -110,6 +109,13 @@ else
WINE_CONF_OPTS += --without-cms
endif
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
+WINE_CONF_OPTS += --with-opengl
+WINE_DEPENDENCIES += libgl
+else
+WINE_CONF_OPTS += --without-opengl
+endif
+
ifeq ($(BR2_PACKAGE_LIBGLU),y)
WINE_CONF_OPTS += --with-glu
WINE_DEPENDENCIES += libglu
OpenPOWER on IntegriCloud