Strip libogg, when copied to root fs

This commit is contained in:
Ulf Samuelsson 2007-11-30 12:34:54 +00:00
parent 45d164dc53
commit ca97e83af3

View File

@ -51,6 +51,7 @@ $(STAGING_DIR)/usr/lib/libogg.so: $(LIBOGG_DIR)/.libs
$(TARGET_DIR)/usr/lib/libogg.so: $(STAGING_DIR)/usr/lib/libogg.so
cp -dpf $(STAGING_DIR)/usr/lib/libogg.so* $(TARGET_DIR)/usr/lib
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libogg.so*
ifneq ($(strip $(BR2_HAVE_MANPAGES)),y)
rm -rf $(TARGET_DIR)/usr/share/doc/$(LIBOGG_NAME)
endif