diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2019-01-05 22:00:44 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-02-06 14:11:13 +0100 |
commit | bb0f65099b62fc51e920a2b974615536e944ec70 (patch) | |
tree | cbdad66f8291996022831efc39cd2d6bf0b7bb7d | |
parent | 5bb7b1a86d5d6f3b191e80e0454cb436cca00e2f (diff) | |
download | buildroot-bb0f65099b62fc51e920a2b974615536e944ec70.tar.gz buildroot-bb0f65099b62fc51e920a2b974615536e944ec70.zip |
package/wine: add gettext dependency for host-wine only with NLS enabled
Checked that host-wine compiles ok without host-gettext, so no needs
to specify this dependency.
libgettextpo is required by tools/wrc
(https://linux.die.net/man/1/wrc) which allows to convert windows
resources also to *.po format, which is not needed if NLS is disabled.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r-- | package/wine/wine.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/wine/wine.mk b/package/wine/wine.mk index 78c8e6ab63..7e44e3c81d 100644 --- a/package/wine/wine.mk +++ b/package/wine/wine.mk @@ -307,8 +307,12 @@ WINE_CONF_OPTS += --without-zlib endif # host-gettext is essential for .po file support in host-wine wrc +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) HOST_WINE_DEPENDENCIES += host-gettext HOST_WINE_CONF_OPTS += --with-gettext --with-gettextpo +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) |