summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-07-15 02:03:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-07-15 02:03:54 +0000
commita1d110b84107857f21a4bf4aca01e4d4907d16dc (patch)
treebe7d5ffbbba51ffb131a4145f322bbb3b30b0218
parent93e851973250fdf6104028b7910a1d14929d4505 (diff)
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports,
per bug report from Daren Sefcik <daren@partnersdata.com>.
-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..a2d0b73d0a6 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.12.2.1 1999/07/15 02:03:54 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