From: Mirko Vogt Date: Sat, 25 Jun 2011 13:13:23 +0000 (+0000) Subject: needs to get linked against libresolv.so when built inside an glibc/eglibc toolchain... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dc7bca96719deb118dc04d56c6870323ccf3b377;p=openwrt%2Fsvn-archive%2Fpackages.git 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 7b47f126e..31f7a0289 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