e2fsprogs: allow mklibs to strip libext2fs.so
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jun 2013 11:27:27 +0000 (11:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jun 2013 11:27:27 +0000 (11:27 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37075

package/utils/e2fsprogs/Makefile

index 33a34ea..e40f280 100644 (file)
@@ -139,6 +139,11 @@ define Package/libext2fs/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libext2fs.so.* $(1)/usr/lib/
 endef
 
+define Package/libext2fs/install_lib
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_BUILD_DIR)/lib/ext2fs/libext2fs.a $(1)/usr/lib/libext2fs_pic.a
+endef
+
 define Package/tune2fs/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tune2fs $(1)/usr/sbin/