]> granicus.if.org Git - postgresql/commitdiff
Turns out the HPUX linker likes -Bsymbolic too. Without this, ODBC
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Mar 2001 23:15:20 +0000 (23:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Mar 2001 23:15:20 +0000 (23:15 +0000)
driver does not work because its internal cross-references get bound
to similarly named functions in unixODBC shared library.

src/Makefile.shlib

index 156a8af03694091c5a6c9c06304fdd56c7b9b7da..9c8536d228dd041a6e094a0d575ade765c9235ba 100644 (file)
@@ -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)