Skip to content
Snippets Groups Projects
Commit 2728512e authored by Florian Fainelli's avatar Florian Fainelli Committed by John Crispin
Browse files

e2fsprogs: List all libraries explicitly


e2fsprogs would fail linking with external toolchains which would not be able
to find several dependencies, explicit them.

Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 9a2f2f32
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,7 @@ define Package/libext2fs ...@@ -44,6 +44,7 @@ define Package/libext2fs
$(call Package/e2fsprogs/Default) $(call Package/e2fsprogs/Default)
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
DEPENDS:=+libuuid
TITLE:=ext2/3/4 filesystem library TITLE:=ext2/3/4 filesystem library
endef endef
...@@ -138,6 +139,8 @@ define Build/Compile ...@@ -138,6 +139,8 @@ define Build/Compile
BUILDCC="$(HOSTCC)" \ BUILDCC="$(HOSTCC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
LIBBLKID="$(PKG_BUILD_DIR)/lib/libblkid.a -luuid" \ LIBBLKID="$(PKG_BUILD_DIR)/lib/libblkid.a -luuid" \
ELF_OTHER_LIBS="$(TARGET_LDFLAGS) -luuid" \
SYSLIBS="$(TARGET_LDFLAGS) -ldl -L$(PKG_BUILD_DIR)/lib/ -lcom_err" \
V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,) \ V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,) \
all all
endef endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment