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 33a34eafa279ee9daffd8841d2df264262b1dff7..e40f280b380cc487df897db6183ee28915c3ee93 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/