summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-28 11:26:51 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-28 11:26:51 +0000
commite76c22cf6d43c9f520023cbc4d26a6a1f3932fc1 (patch)
treea343e24682945c9e2470272184d5700b3c83f061
parent1d0f9ea237b26f290c9eb443bc9c0ee0450b0a32 (diff)
e2fsprogs: use the private version of blkid statically, it is significantly smaller than the external shared libblkid
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37065 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/utils/e2fsprogs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index ebc21c9067..783648cf63 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -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