Re: Fix for HP-UX shared library builds - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Fix for HP-UX shared library builds
Date
Msg-id Pine.LNX.4.44.0301031856260.8249-100000@localhost.localdomain
Whole thread Raw
In response to Fix for HP-UX shared library builds  (Giles Lean <giles@nemeton.com.au>)
Responses Re: Fix for HP-UX shared library builds  (Giles Lean <giles@nemeton.com.au>)
List 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@gmx.net


pgsql-patches by date:

Previous
From: "Serguei Mokhov"
Date:
Subject: Re: [HACKERS] pg_dump.options.diff -- Take III
Next
From: Peter Eisentraut
Date:
Subject: Re: more adequate usage msg: pg_controldata.diff