wine: Fix more likely *-config problems
PATCH 2/2 wine: Fix more likely *-config problems
Signed-off-by Andr? Hentschel <[email protected]>
--- package/wine/wine.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
package/wine/wine.mk +8 -0
@@ -72,7 +72,11 @@ endif # To support freetype in wine we also need freetype in host-wine for the cross compiling tools ifeq ($(BR2_PACKAGE_FREETYPE),y) WINE_CONF_OPTS += --with-freetype +WINE_CONF_OPTS += FREETYPE_CFLAGS="`($(STAGING_DIR)/usr/bin/freetype-config --cflags || $(STAGING_DIR)/usr/bin/freetype2-config --cflags) 2>/dev/null`" +WINE_CONF_OPTS += FREETYPE_LIBS="`($(STAGING_DIR)/usr/bin/freetype-config --ldflags || $(STAGING_DIR)/usr/bin/freetype2-config --ldflags) 2>/dev/null`" HOST_WINE_CONF_OPTS += --with-freetype +HOST_WINE_CONF_OPTS += FREETYPE_CFLAGS="`($(HOST_DIR)/usr/bin/freetype-config --cflags || $(HOST_DIR)/usr/bin/freetype2-config --cflags) 2>/dev/null`" +HOST_WINE_CONF_OPTS += FREETYPE_LIBS="`($(HOST_DIR)/usr/bin/freetype-config --ldflags || $(HOST_DIR)/usr/bin/freetype2-config --ldflags) 2>/dev/null`" WINE_DEPENDENCIES += freetype HOST_WINE_DEPENDENCIES += host-freetype else
@@ -138,6 +142,8 @@ endif ifeq ($(BR2_PACKAGE_LIBXML2),y) WINE_CONF_OPTS += --with-xml +WINE_CONF_OPTS += XML2_CFLAGS="`$(STAGING_DIR)/usr/bin/xml2-config --cflags 2>/dev/null`" +WINE_CONF_OPTS += XML2_LIBS="`$(STAGING_DIR)/usr/bin/xml2-config --ldflags 2>/dev/null`" WINE_DEPENDENCIES += libxml2 else WINE_CONF_OPTS += --without-xml
@@ -145,6 +151,8 @@ endif ifeq ($(BR2_PACKAGE_LIBXSLT),y) WINE_CONF_OPTS += --with-xslt +WINE_CONF_OPTS += XSLT_CFLAGS="`$(STAGING_DIR)/usr/bin/xslt-config --cflags 2>/dev/null`" +WINE_CONF_OPTS += XSLT_LIBS="`$(STAGING_DIR)/usr/bin/xslt-config --ldflags 2>/dev/null`" WINE_DEPENDENCIES += libxslt else WINE_CONF_OPTS += --without-xslt
Signature · 1 line
1.9.1