From 4621633e60c09415fe3a43978d09cd1bf71676c6 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Sat, 25 Jun 2011 13:13:23 +0000 Subject: [PATCH] [packages/pciutils] needs to get linked against libresolv.so when built inside an glibc/eglibc toolchain - thanks to Philip Prindeville SVN-Revision: 27281 --- utils/pciutils/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2