framework to help other GNU packages produce multi-lingual
messages.
+ Only the gettext libraries will be installed in the
+ target. The full gettext suite, including tools, will be
+ installed in the staging directory.
+
http://www.gnu.org/software/gettext/
comment "gettext requires a toolchain with WCHAR support"
depends on BR2_NEEDS_GETTEXT && !BR2_USE_WCHAR
config BR2_PACKAGE_LIBINTL
- bool "libintl"
- depends on BR2_NEEDS_GETTEXT
- depends on BR2_USE_WCHAR
- help
- Selecting this package installs all of gettext in the staging
- directory and the shared library for it's use in the target.
-
- http://www.gnu.org/software/gettext/
+ bool
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
gettext-legal-info:
@$(call legal-warning-pkg,gettext,legal-info not yet implemented)
-gettext: host-pkg-config $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
+gettext: host-pkg-config $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) $(TARGET_DIR)/$(LIBINTL_TARGET_BINARY)
gettext-unpacked: $(GETTEXT_DIR)/.unpacked
libgettext*.so*.la libintl*.so*.la)
touch -c $@
-libintl: $(TARGET_DIR)/$(LIBINTL_TARGET_BINARY)
-
#############################################################
#
# Toplevel Makefile options
#
#############################################################
-ifeq ($(BR2_PACKAGE_LIBINTL),y)
-TARGETS+=libintl
-endif
ifeq ($(BR2_PACKAGE_GETTEXT),y)
TARGETS+=gettext
endif