]> granicus.if.org Git - postgresql/commitdiff
Move -Bsymbolic for HPUX to Makefile.hpux, per Peter E's recommendation.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Mar 2001 19:35:12 +0000 (19:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Mar 2001 19:35:12 +0000 (19:35 +0000)
src/Makefile.shlib
src/makefiles/Makefile.hpux

index 9c8536d228dd041a6e094a0d575ade765c9235ba..afbd2b3e85fddb76f8ad7331079629b90d2b3f59 100644 (file)
@@ -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)
index bfde5995fd0891660704b0e51eee5a2423c6feec..b6e141893e233dec295d5d081aa56177a1d7094a 100644 (file)
@@ -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