[LEDE-DEV] [PATCH 2/2] e2fsprogs: List all libraries explicitly
Florian Fainelli
f.fainelli at gmail.com
Fri Sep 2 14:03:36 PDT 2016
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 at gmail.com>
---
package/utils/e2fsprogs/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index 3d995eb7957f..844821f3b58e 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -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)),V=1,V='') \
all
endef
--
2.9.3
More information about the Lede-dev
mailing list