summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-05-23 16:46:32 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-05-23 16:46:32 +0200
commitcc4800145b408de0b4afef88f4489a541024e75a (patch)
tree7fe4f1633e7cb74d0aeb3335e9dd04110d560811 /apt-pkg
parenta01695e82cfbfa6e296c66879c1e41802d3ea413 (diff)
when using srv records, use the next server if one fails to connect
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/makefile b/apt-pkg/makefile
index 5603b51ed..45dcddfe3 100644
--- a/apt-pkg/makefile
+++ b/apt-pkg/makefile
@@ -15,7 +15,7 @@ include ../buildlib/libversion.mak
LIBRARY=apt-pkg
MAJOR=$(LIBAPTPKG_MAJOR)
MINOR=$(LIBAPTPKG_RELEASE)
-SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl
+SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl -lresolv
ifeq ($(HAVE_ZLIB),yes)
SLIBS+= -lz
endif