summaryrefslogtreecommitdiffstats
path: root/package/gettext
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-10-27 09:45:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-10-27 09:45:44 +0000
commit9042d9294308916e44a337a79236d59fc85c2bcd (patch)
tree7342c57a3425bc2e3c9de8778d124c7aae2ea6b8 /package/gettext
parentc8f70347ec875891370e7bc37a8eee866e30a332 (diff)
downloadbuildroot-novena-9042d9294308916e44a337a79236d59fc85c2bcd.tar.gz
buildroot-novena-9042d9294308916e44a337a79236d59fc85c2bcd.zip
Strip gettext libraries on the target
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/gettext.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 682ad1953..7858e1c37 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -154,6 +154,8 @@ endif
$(TARGET_DIR)/usr/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
cp -dpf $(STAGING_DIR)/usr/lib/libgettext*.so* \
$(STAGING_DIR)/usr/lib/libintl*.so* $(TARGET_DIR)/usr/lib/
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libgettext*.so*
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libintl*.so*
rm -f $(addprefix $(TARGET_DIR)/usr/lib/, \
libgettext*.so*.la libintl*.so*.la)
touch -c $@