Browse Source

wine: Add xlib_libXext dependency

This fixes window size issues.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
André Hentschel 10 years ago
parent
commit
c3ef90f8b2
1 changed files with 8 additions and 3 deletions
  1. 8 3
      package/wine/wine.mk

+ 8 - 3
package/wine/wine.mk

@@ -27,9 +27,7 @@ WINE_CONF_OPTS = \
 	--without-openal \
 	--without-opencl \
 	--without-osmesa \
-	--without-oss \
-	--without-xshape \
-	--without-xshm
+	--without-oss
 
 # Wine uses a wrapper around gcc, and uses the value of --host to
 # construct the filename of the gcc to call.  But for external
@@ -207,6 +205,13 @@ else
 WINE_CONF_OPTS += --without-xcursor
 endif
 
+ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
+WINE_CONF_OPTS += --with-xshape --with-xshm
+WINE_DEPENDENCIES += xlib_libXext
+else
+WINE_CONF_OPTS += --without-xshape --without-xshm
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
 WINE_CONF_OPTS += --with-xinput --with-xinput2
 WINE_DEPENDENCIES += xlib_libXi