e2fsprogs: use the private version of blkid statically, it is significantly smaller...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jun 2013 11:26:51 +0000 (11:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jun 2013 11:26:51 +0000 (11:26 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37065

package/utils/e2fsprogs/Makefile

index ebc21c90676abfd5591da12c2e4abbf3a4019cca..783648cf635cf826c44ccf84803d20f9fcf20fc0 100644 (file)
@@ -30,7 +30,7 @@ $(call Package/e2fsprogs/Default)
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Ext2/3/4 filesystem utilities
-  DEPENDS:=+libblkid +libuuid +libext2fs
+  DEPENDS:=+libuuid +libext2fs
 endef
 
 define Package/e2fsprogs/description
@@ -86,7 +86,7 @@ TARGET_CFLAGS += $(FPIC)
 CONFIGURE_ARGS += \
        --enable-elf-shlibs     \
        --disable-libuuid       \
-       --disable-libblkid      \
+       --enable-libblkid       \
        --disable-uuidd         \
        --disable-tls           \
        --disable-nls           \
@@ -107,6 +107,7 @@ define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                BUILDCC="$(HOSTCC)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
+               LIBBLKID="$(PKG_BUILD_DIR)/lib/libblkid.a -luuid" \
                all
 endef