aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-01-11 17:22:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-01-11 17:22:34 +0000
commit7680826848e3b0f5cc5216a9bef92443dcfeeafc (patch)
tree3e84996bde5fb55c5047168c3c2aee2dde78f6e6
parent8b434d647e5374e6169ca6a872c307c2426e6cd6 (diff)
downloadpostgresql-7680826848e3b0f5cc5216a9bef92443dcfeeafc.tar.gz
postgresql-7680826848e3b0f5cc5216a9bef92443dcfeeafc.zip
Cause symlinks for shared-library versioning to run in the standard
direction on HP-UX; our former approach has been obsolete since HPUX 9. Giles Lean
-rw-r--r--src/Makefile.shlib7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index eaf341855f7..20279abdaff 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.65 2002/10/09 16:21:54 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.65.2.1 2003/01/11 17:22:34 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -126,9 +126,8 @@ ifeq ($(PORTNAME), netbsd)
endif
ifeq ($(PORTNAME), hpux)
-# HPUX doesn't believe in version numbers for shlibs
- shlib := lib$(NAME)$(DLSUFFIX)
- LINK.shared = $(LD) -b +b $(libdir)
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
+ LINK.shared = $(LD) +h $(soname) -b +b $(libdir)
endif
ifeq ($(PORTNAME), irix5)