aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-02-04 14:09:33 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-02-04 14:09:33 +0000
commitb1f528f86c9935be35234963551a0f92a099225e (patch)
tree56c01cab1204a45d73f36966f9edc3a9214e9035 /src
parent8791d12d9e8558c99dbb83900247e969a3d0aea1 (diff)
downloadpostgresql-b1f528f86c9935be35234963551a0f92a099225e.tar.gz
postgresql-b1f528f86c9935be35234963551a0f92a099225e.zip
Check for -lresolv.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.shlib4
-rw-r--r--src/interfaces/libpq/Makefile4
2 files changed, 4 insertions, 4 deletions
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