Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/wine: Add gettext dependency for host-wine only with NLS enabled
@ 2019-01-04 11:49 Vadim Kochan
  2019-01-04 12:42 ` Thomas Petazzoni
  2019-01-04 14:01 ` Yann E. MORIN
  0 siblings, 2 replies; 7+ messages in thread
From: Vadim Kochan @ 2019-01-04 11:49 UTC (permalink / raw)
  To: buildroot

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>
---
 package/wine/wine.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index 78c8e6ab63..ef70b6276c 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -307,8 +307,10 @@ 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
+endif
 
 # Wine needs to enable 64-bit build tools on 64-bit host
 ifeq ($(HOSTARCH),x86_64)
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-05 14:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04 11:49 [Buildroot] [PATCH 1/1] package/wine: Add gettext dependency for host-wine only with NLS enabled Vadim Kochan
2019-01-04 12:42 ` Thomas Petazzoni
2019-01-04 13:58   ` Vadim Kochan
2019-01-04 14:01 ` Yann E. MORIN
2019-01-04 17:10   ` Vadim Kochan
2019-01-05 14:10     ` Thomas Petazzoni
2019-01-05 14:56       ` Vadim Kochan

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