From: André Hentschel Date: Sat, 21 Mar 2015 15:38:23 +0000 (+0100) Subject: wine: Add opengl dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=981d614d9f60985a7f54968673d2e1e6b8799038;p=buildroot.git wine: Add opengl dependency Signed-off-by: André Hentschel Signed-off-by: Thomas Petazzoni --- 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