eglibc's libc doesn't include libresolv as part of it.
Signed-off-by: Philip Prindeville <[email protected]>
Index: feeds/packages/utils/pciutils/Makefile
===================================================================
--- feeds/packages/utils/pciutils/Makefile (revision 27236)
+++ feeds/packages/utils/pciutils/Makefile (working copy)
@@ -45,6 +45,10 @@
HOST="$(GNU_TARGET_NAME)" \
ZLIB="yes" \
+ifneq ($(CONFIG_USE_EGLIBC),)
+TARGET_LDFLAGS += -lresolv
+endif
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/lib/libpci.a $(1)/usr/lib
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel