aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-03-14 19:35:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-03-14 19:35:12 +0000
commitc6c1fea06db76024e90b1d22b7a320787ff5a742 (patch)
tree41595243c91c012ce7d04419326590d1f150e74d
parent3534e3b68f8f465a303d5d11b479d310034d69d4 (diff)
downloadpostgresql-c6c1fea06db76024e90b1d22b7a320787ff5a742.tar.gz
postgresql-c6c1fea06db76024e90b1d22b7a320787ff5a742.zip
Move -Bsymbolic for HPUX to Makefile.hpux, per Peter E's recommendation.
-rw-r--r--src/Makefile.shlib4
-rw-r--r--src/makefiles/Makefile.hpux2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 9c8536d228d..afbd2b3e85f 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.47 2001/03/10 23:15:20 tgl Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.48 2001/03/14 19:35:11 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -160,7 +160,7 @@ endif
ifeq ($(PORTNAME), hpux)
# HPUX doesn't believe in version numbers for shlibs
shlib := lib$(NAME)$(DLSUFFIX)
- LINK.shared = $(LD) -b +b $(libdir) -Bsymbolic
+ LINK.shared = $(LD) -b +b $(libdir)
endif
ifeq ($(PORTNAME), irix5)
diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux
index bfde5995fd0..b6e141893e2 100644
--- a/src/makefiles/Makefile.hpux
+++ b/src/makefiles/Makefile.hpux
@@ -28,7 +28,9 @@ LDFLAGS += -Wl,+b -Wl,$(libdir)
# catch null pointer dereferences
LDFLAGS += -Wl,-z
+# set up appropriate options for shared library builds
export_dynamic = -Wl,-E
+shlib_symbolic = -Bsymbolic
INSTALL_SHLIB_OPTS = -m 555