eglibc's libc doesn't include libresolv as part of it. Redux: Need to annotate libbsd dependency as well.
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) @@ -24,7 +24,7 @@ CATEGORY:=Utilities TITLE:=Linux PCI Utilities URL:=http://mj.ucw.cz/pciutils.shtml - DEPENDS:=+zlib + DEPENDS:=+zlib +USE_EGLIBC:libbsd endef define Package/pciutils/description @@ -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
