[Buildroot] [PATCH v3 2/2] wine: Add gettext dependency check for host-wine
André Hentschel
nerv at dawncrow.de
Sun Mar 8 14:22:57 UTC 2015
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
v2: minor fixes
v3: Add comment and only modify HOST variables
package/wine/wine.mk | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index 571606d..df13ef7 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -243,6 +243,15 @@ else
WINE_CONF_OPTS += --without-zlib
endif
+# selecting gettext also enables host-gettext which is
+# essential for .po file support in wrc from host-wine
+ifeq ($(BR2_PACKAGE_GETTEXT),y)
+HOST_WINE_CONF_OPTS += --with-gettext --with-gettextpo
+HOST_WINE_DEPENDENCIES += host-gettext
+else
+HOST_WINE_CONF_OPTS += --without-gettext --without-gettextpo
+endif
+
# Wine needs to enable 64-bit build tools on 64-bit host
ifeq ($(HOSTARCH),x86_64)
HOST_WINE_CONF_OPTS += --enable-win64
@@ -280,8 +289,6 @@ HOST_WINE_CONF_OPTS += \
--without-curses \
--without-dbus \
--without-fontconfig \
- --without-gettext \
- --without-gettextpo \
--without-gphoto \
--without-glu \
--without-gnutls \
More information about the buildroot
mailing list