mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
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>
This commit is contained in:
parent
5bb7b1a86d
commit
bb0f65099b
@ -307,8 +307,12 @@ WINE_CONF_OPTS += --without-zlib
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# host-gettext is essential for .po file support in host-wine wrc
|
# 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_DEPENDENCIES += host-gettext
|
||||||
HOST_WINE_CONF_OPTS += --with-gettext --with-gettextpo
|
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
|
# Wine needs to enable 64-bit build tools on 64-bit host
|
||||||
ifeq ($(HOSTARCH),x86_64)
|
ifeq ($(HOSTARCH),x86_64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user