Skip site navigation (1) Skip section navigation (2)

Re: pgsql/src Makefile.shlib

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src Makefile.shlib
Date: 2001-03-12 17:39:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> You probably want to define this in Makefile.hpux (compare to
> Makefile.linux for example), unless you want to link *all* shared
> libraries this way.

I tried this and realized that it does not work unless I make
	shlib_symbolic = -Bsymbolic
rather than
	shlib_symbolic = -Wl,-Bsymbolic
as is done on all the other platforms that define this symbol.
Reason: we build shlibs by invoking the linker directly, not
via the compiler, on HPUX.

AFAICT, our practice for the other platforms that invoke the linker
directly is to include options directly into the LINK.shared macro;
see for example the *bsd and sunos4 entries in Makefile.shlib.
These examples are why I added -Bsymbolic to HPUX's LINK.shared in the
first place, and I'm now inclined to leave it that way.  Comments?

			regards, tom lane

In response to


pgsql-committers by date

Next:From: Tom LaneDate: 2001-03-12 23:02:00
Subject: pgsql/src/backend/commands trigger.c
Previous:From: Peter MountDate: 2001-03-12 16:02:42
Subject: Re: pgsql/ /build.xml ontrib/retep/build.xml oc/sr ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group