summaryrefslogtreecommitdiff
path: root/package/utils
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-28 11:26:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-06-28 11:26:51 +0000
commitd383212f81bd38ab9dfab83533d1d6d46ec4e36d (patch)
tree5ed51d179fc5c7f97f63ad31706e6ea846848de0 /package/utils
parent08a4d8b8e6928667f56fecacc048f1694d3c10df (diff)
downloadmtk-20170518-d383212f81bd38ab9dfab83533d1d6d46ec4e36d.zip
mtk-20170518-d383212f81bd38ab9dfab83533d1d6d46ec4e36d.tar.gz
mtk-20170518-d383212f81bd38ab9dfab83533d1d6d46ec4e36d.tar.bz2
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> SVN-Revision: 37065
Diffstat (limited to 'package/utils')
-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 ebc21c9..783648c 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