From: Mirko Vogt Date: Sat, 25 Jun 2011 13:13:23 +0000 (+0000) Subject: [packages/pciutils] needs to get linked against libresolv.so when built inside an... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4621633e60c09415fe3a43978d09cd1bf71676c6;p=openwrt%2Fsvn-archive%2Farchive.git [packages/pciutils] needs to get linked against libresolv.so when built inside an glibc/eglibc toolchain - thanks to Philip Prindeville SVN-Revision: 27281 --- diff --git a/utils/pciutils/Makefile b/utils/pciutils/Makefile index 7b47f126ef..31f7a0289a 100644 --- a/utils/pciutils/Makefile +++ b/utils/pciutils/Makefile @@ -45,6 +45,10 @@ MAKE_FLAGS += \ HOST="$(GNU_TARGET_NAME)" \ ZLIB="yes" \ +ifneq ($(CONFIG_USE_EGLIBC)$(CONFIG_USE_GLIBC),) +TARGET_LDFLAGS += -lresolv +endif + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib/libpci.a $(1)/usr/lib