From 9c2c9fcdfb8d9e3f4b47f3cc2137662cdb68b952 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 10 Mar 2001 23:15:20 +0000
Subject: [PATCH] Turns out the HPUX linker likes -Bsymbolic too.  Without
 this, ODBC driver does not work because its internal cross-references get
 bound to similarly named functions in unixODBC shared library.

---
 src/Makefile.shlib | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 156a8af0369..9c8536d228d 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.46 2001/02/27 08:13:29 ishii Exp $
+#    $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.47 2001/03/10 23:15:20 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)
+  LINK.shared		= $(LD) -b +b $(libdir) -Bsymbolic
 endif
 
 ifeq ($(PORTNAME), irix5)
-- 
GitLab