From 32d3d1f6b8d1a02b3182c3ccfedf1d54433b1e30 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 11 May 2004 21:29:18 +0000 Subject: Work around lack of res_query weak alias in libresolv on amd64 (see #242462, awaiting real fix upstream). --- debian/rules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 54c6c1482..e65f47d1e 100755 --- a/debian/rules +++ b/debian/rules @@ -43,6 +43,12 @@ PAMSUBST := yes PAMDEP := libpam-runtime endif +# Temporary linkage hack for amd64 due to lack of res_query weak alias, see +# #242462. Real fix sent upstream. +ifeq ($(DEB_HOST_ARCH),amd64) +FORCE_LIBS = LIBS=-lresolv +endif + # Change the version string to include the Debian version SSH_VERSION := $(shell sed -e '/define/!d; s/.*\"\(.*\)\".*/\1/; q'