gettext: remove option to build statically
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
9f996396d5
commit
300cd640ec
@ -12,18 +12,6 @@ config BR2_PACKAGE_GETTEXT
|
|||||||
comment "gettext requires a toolchain with WCHAR support"
|
comment "gettext requires a toolchain with WCHAR support"
|
||||||
depends on BR2_NEEDS_GETTEXT && !BR2_USE_WCHAR
|
depends on BR2_NEEDS_GETTEXT && !BR2_USE_WCHAR
|
||||||
|
|
||||||
config BR2_PACKAGE_GETTEXT_STATIC
|
|
||||||
bool "Use libgettext.a instead of libgettext.so.*"
|
|
||||||
depends on BR2_PACKAGE_GETTEXT
|
|
||||||
depends on BR2_arm
|
|
||||||
help
|
|
||||||
The GNU `gettext' utilities are a set of tools that provide a
|
|
||||||
framework to help other GNU packages produce multi-lingual
|
|
||||||
messages.
|
|
||||||
|
|
||||||
http://www.gnu.org/software/gettext/
|
|
||||||
|
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBINTL
|
config BR2_PACKAGE_LIBINTL
|
||||||
bool "libintl"
|
bool "libintl"
|
||||||
depends on BR2_NEEDS_GETTEXT
|
depends on BR2_NEEDS_GETTEXT
|
||||||
|
@ -11,11 +11,7 @@ GETTEXT_CAT:=$(ZCAT)
|
|||||||
GETTEXT_BINARY:=gettext-runtime/src/gettext
|
GETTEXT_BINARY:=gettext-runtime/src/gettext
|
||||||
GETTEXT_TARGET_BINARY:=usr/bin/gettext
|
GETTEXT_TARGET_BINARY:=usr/bin/gettext
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GETTEXT_STATIC),y)
|
|
||||||
LIBINTL_TARGET_BINARY:=usr/lib/libintl.a
|
|
||||||
else
|
|
||||||
LIBINTL_TARGET_BINARY:=usr/lib/libintl.so
|
LIBINTL_TARGET_BINARY:=usr/lib/libintl.so
|
||||||
endif
|
|
||||||
|
|
||||||
$(DL_DIR)/$(GETTEXT_SOURCE):
|
$(DL_DIR)/$(GETTEXT_SOURCE):
|
||||||
$(call DOWNLOAD,$(GETTEXT_SITE)/$(GETTEXT_SOURCE))
|
$(call DOWNLOAD,$(GETTEXT_SITE)/$(GETTEXT_SOURCE))
|
||||||
@ -147,11 +143,6 @@ $(TARGET_DIR)/usr/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
|
|||||||
libgettext*.so*.la libintl*.so*.la)
|
libgettext*.so*.la libintl*.so*.la)
|
||||||
touch -c $@
|
touch -c $@
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libintl.a: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
|
|
||||||
cp -dpf $(STAGING_DIR)/usr/lib/libgettext*.a $(TARGET_DIR)/usr/lib/
|
|
||||||
cp -dpf $(STAGING_DIR)/usr/lib/libintl*.a $(TARGET_DIR)/usr/lib/
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
libintl: $(TARGET_DIR)/$(LIBINTL_TARGET_BINARY)
|
libintl: $(TARGET_DIR)/$(LIBINTL_TARGET_BINARY)
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user