From b1f528f86c9935be35234963551a0f92a099225e Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 4 Feb 2001 14:09:33 +0000 Subject: Check for -lresolv. --- src/Makefile.shlib | 4 ++-- src/interfaces/libpq/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 508594f52d6..6506d6d5b92 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.37 2000/12/06 19:37:08 petere Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.38 2001/02/04 14:09:33 petere Exp $ # #------------------------------------------------------------------------- @@ -171,7 +171,7 @@ ifeq ($(PORTNAME), solaris) else LINK.shared += -Wl,-h,$(soname) endif - SHLIB_LINK += -ldl -lsocket -lresolv -lnsl -lm -lc + SHLIB_LINK += -lm -lc endif ifeq ($(PORTNAME), osf) diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index a8916852931..3ac7bd1a1c5 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.48 2001/01/20 23:07:27 tgl Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.49 2001/02/04 14:09:33 petere Exp $ # #------------------------------------------------------------------------- @@ -30,7 +30,7 @@ endif # Add libraries that libpq depends (or might depend) on into the # shared library link. (The order in which you list them here doesn't # matter.) -SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl, $(LIBS)) +SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv, $(LIBS)) all: all-lib -- cgit v1.2.3