Re: Fix for HP-UX shared library builds

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Giles Lean <giles(at)nemeton(dot)com(dot)au>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for HP-UX shared library builds
Date: 2003-01-04 10:27:21
Message-ID: Pine.LNX.4.44.0301031856260.8249-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Giles Lean writes:

> *** src/Makefile.shlib-orig Wed Oct 9 09:21:54 2002
> --- src/Makefile.shlib Sun Dec 22 21:07:43 2002
> ***************
> *** 126,134 ****
> endif
>
> ifeq ($(PORTNAME), hpux)
> ! # HPUX doesn't believe in version numbers for shlibs

Once upon the time this was true. When did it change, and do we still
care about the pre-change versions?

> ! shlib := lib$(NAME)$(DLSUFFIX)
> ! LINK.shared = $(LD) -b +b $(libdir)
> endif
>
> ifeq ($(PORTNAME), irix5)
> --- 126,133 ----
> endif
>
> ifeq ($(PORTNAME), hpux)
> ! shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
> ! LINK.shared = $(LD) +h $(shlib) -b +b $(libdir)

This should probably be +h $(soname).

> endif
>
> ifeq ($(PORTNAME), irix5)
>

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-01-04 10:28:22 Re: more adequate usage msg: pg_controldata.diff
Previous Message Serguei Mokhov 2003-01-03 23:41:33 Re: pg_dump.options.diff -- Take III