From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/gettext
Date: Mon, 16 Jul 2007 03:00:31 -0700 (PDT) [thread overview]
Message-ID: <20070716100031.90A15A6ABC@busybox.net> (raw)
Author: ulf
Date: 2007-07-16 03:00:29 -0700 (Mon, 16 Jul 2007)
New Revision: 19109
Log:
Temporarily allow static libgettext library option to ensure build can complete for ARM
Modified:
trunk/buildroot/package/gettext/Config.in
trunk/buildroot/package/gettext/gettext.mk
Changeset:
Modified: trunk/buildroot/package/gettext/Config.in
===================================================================
--- trunk/buildroot/package/gettext/Config.in 2007-07-16 09:45:39 UTC (rev 19108)
+++ trunk/buildroot/package/gettext/Config.in 2007-07-16 10:00:29 UTC (rev 19109)
@@ -8,6 +8,19 @@
http://www.gnu.org/software/gettext/
+config BR2_PACKAGE_GETTEXT_STATIC
+ bool "Use libgettext.a instead of libgettext.so.*"
+ default y
+ 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
bool "libintl"
default n
Modified: trunk/buildroot/package/gettext/gettext.mk
===================================================================
--- trunk/buildroot/package/gettext/gettext.mk 2007-07-16 09:45:39 UTC (rev 19108)
+++ trunk/buildroot/package/gettext/gettext.mk 2007-07-16 10:00:29 UTC (rev 19109)
@@ -11,6 +11,12 @@
GETTEXT_BINARY:=gettext-runtime/src/gettext
GETTEXT_TARGET_BINARY:=usr/bin/gettext
+ifeq ($(strip $(BR2_PACKAGE_GETTEXT_STATIC)),y)
+LIBINTL_TARGET_BINARY:=usr/lib/libintl.a
+else
+LIBINTL_TARGET_BINARY:=usr/lib/libintl.so
+endif
+
$(DL_DIR)/$(GETTEXT_SOURCE):
$(WGET) -P $(DL_DIR) $(GETTEXT_SITE)/$(GETTEXT_SOURCE)
@@ -91,6 +97,7 @@
--prefix=/usr \
--exec-prefix=/usr \
--disable-libasprintf \
+ --enable-shared \
$(IGNORE_EXTERNAL_GETTEXT) \
$(OPENMP) \
);
@@ -144,8 +151,13 @@
rm -f $(TARGET_DIR)/usr/lib/libgettext*.so*.la $(TARGET_DIR)/usr/lib/libintl*.so*.la
touch -c $@
-libintl: $(TARGET_DIR)/usr/lib/libintl.so
+$(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)
+
#############################################################
#
# Toplevel Makefile options
next reply other threads:[~2007-07-16 10:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 10:00 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-27 9:45 [Buildroot] svn commit: trunk/buildroot/package/gettext jacmet at uclibc.org
2008-07-23 10:35 jacmet at uclibc.org
2008-07-23 13:42 ` Hamish Moffatt
2008-07-23 14:23 ` Bernhard Fischer
2008-07-26 7:28 ` Ulf Samuelsson
2007-09-05 6:50 ulf at uclibc.org
2007-08-12 23:36 ulf at uclibc.org
2007-07-27 7:29 ulf at uclibc.org
2007-07-23 8:35 ulf at uclibc.org
2007-07-08 18:58 aldot at uclibc.org
2007-06-20 12:10 aldot at uclibc.org
2007-01-16 1:29 sjhill at uclibc.org
2007-01-15 21:28 andersen at uclibc.org
2007-01-14 3:09 sjhill at uclibc.org
2007-01-10 10:30 andersen at uclibc.org
2007-01-10 6:05 andersen at uclibc.org
2006-07-19 17:06 vapier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070716100031.90A15A6ABC@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox