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: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
9a2f2f32cf
commit
2728512e15
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@ define Package/libext2fs
|
|||
$(call Package/e2fsprogs/Default)
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
DEPENDS:=+libuuid
|
||||
TITLE:=ext2/3/4 filesystem library
|
||||
endef
|
||||
|
||||
|
@ -138,6 +139,8 @@ define Build/Compile
|
|||
BUILDCC="$(HOSTCC)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
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,) \
|
||||
all
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue