Re: BUG #6732: Build issue when using gettext on FreeBSD 9

From: Christian Ullrich <chris(at)chrullrich(dot)net>
To:
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6732: Build issue when using gettext on FreeBSD 9
Date: 2012-07-13 00:04:50
Message-ID: 4FFF6622.2090202@chrullrich.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

* 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mike Wilson 2012-07-13 00:21:31 Re: BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)
Previous Message Christian Ullrich 2012-07-13 00:00:03 Re: BUG #6732: Build issue when using gettext on FreeBSD 9