Strip gettext libraries on the target
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Oct 2008 09:45:44 +0000 (09:45 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Oct 2008 09:45:44 +0000 (09:45 -0000)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gettext/gettext.mk

index 682ad1953110543af8d4b046d0e217748fac0c8a..7858e1c376be48e55640780016d36f8d984db77d 100644 (file)
@@ -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 $@