aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-07-15 02:03:00 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-07-15 02:03:00 +0000
commit390e8354ced531bd1dbb9a261472e413ce41d7a8 (patch)
treee5d0de4c64ee8311e4ee2757a762227a390186e1 /src
parent8aea617c03483dd5fee06feeec5eabea85125588 (diff)
downloadpostgresql-390e8354ced531bd1dbb9a261472e413ce41d7a8.tar.gz
postgresql-390e8354ced531bd1dbb9a261472e413ce41d7a8.zip
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports,
per bug report from Daren Sefcik <daren@partnersdata.com>.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.shlib4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 34663d615b8..1c942ac2c34 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.12 1999/07/08 00:15:03 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.13 1999/07/15 02:03:00 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -129,6 +129,7 @@ ifeq ($(PORTNAME), solaris_i386)
install-shlib-dep := install-shlib
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LDFLAGS_SL := -G
+ SHLIB_LINK += -ldl -lsocket -lresolv -lnsl -lm -lc
CFLAGS += $(CFLAGS_SL)
endif
@@ -136,6 +137,7 @@ ifeq ($(PORTNAME), solaris_sparc)
install-shlib-dep := install-shlib
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LDFLAGS_SL := -G
+ SHLIB_LINK += -ldl -lsocket -lresolv -lnsl -lm -lc
CFLAGS += $(CFLAGS_SL)
endif