Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 2/2] wine: Fix more likely *-config problems
@ 2015-12-07 20:40 André Hentschel
  0 siblings, 0 replies; only message in thread
From: André Hentschel @ 2015-12-07 20:40 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Andr? Hentschel <nerv@dawncrow.de>
---
 package/wine/wine.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index e29d616..6dfd3f0 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-07 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 20:40 [Buildroot] [PATCH 2/2] wine: Fix more likely *-config problems André Hentschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox