From: Christian Ullrich <chris@chrullrich.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6732: Build issue when using gettext on FreeBSD 9
Date: Fri, 13 Jul 2012 02:04:50 +0200
Message-ID: <4FFF6622.2090202@chrullrich.net> (raw)
In-Reply-To: <4FFF6503.1020301@chrullrich.net>
References: <E1SpLGp-0004cp-1w@wrigleys.postgresql.org>
<29635.1342113922@sss.pgh.pa.us>
<4FFF6503.1020301@chrullrich.net>
* Christian Ullrich wrote:
> I think I have a pretty good fix: Early in configure, see if the linker
> understands --no-copy-dt-needed-entries, or alternatively
> --no-add-needed (which is a deprecated name for the same thing). This is
> the "light" version of --as-needed: It does not discard unneeded
> libraries immediately, but ignores their dependencies. configure
> basically works as before, except that indirect dependencies cannot
> "hide" required libraries from it anymore.
Oh, I should have made this clearer: This works without any modification
to configure or anything else, so configure can still add --as-needed to
the build LDFLAGS.
--
Christian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: chris@chrullrich.net, tgl@sss.pgh.pa.us
Subject: Re: BUG #6732: Build issue when using gettext on FreeBSD 9
In-Reply-To: <4FFF6622.2090202@chrullrich.net>
References: <E1SpLGp-0004cp-1w@wrigleys.postgresql.org> <29635.1342113922@sss.pgh.pa.us> <4FFF6503.1020301@chrullrich.net> <4FFF6622.2090202@chrullrich.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox