|
6 | 6 | # Copyright (c) 1998, Regents of the University of California |
7 | 7 | # |
8 | 8 | # IDENTIFICATION |
9 | | -# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.65 2002/10/09 16:21:54 momjian Exp $ |
| 9 | +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.66 2003/01/11 17:22:19 tgl Exp $ |
10 | 10 | # |
11 | 11 | #------------------------------------------------------------------------- |
12 | 12 |
|
@@ -126,9 +126,8 @@ ifeq ($(PORTNAME), netbsd) |
126 | 126 | endif |
127 | 127 |
|
128 | 128 | ifeq ($(PORTNAME), hpux) |
129 | | -# HPUX doesn't believe in version numbers for shlibs |
130 | | - shlib:= lib$(NAME)$(DLSUFFIX) |
131 | | - LINK.shared= $(LD) -b +b $(libdir) |
| 129 | + shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) |
| 130 | + LINK.shared= $(LD) +h $(soname) -b +b $(libdir) |
132 | 131 | endif |
133 | 132 |
|
134 | 133 | ifeq ($(PORTNAME), irix5) |
|