[buildd-tools-devel] Bug#526860: Bug#526860: schroot links library dependencies through LD_FLAGS instead of LIBS

Roger Leigh rleigh at codelibre.net
Mon May 4 10:20:24 UTC 2009


tags 526860 + fixed-upstream pending
thanks

On Sun, May 03, 2009 at 07:37:01PM -0700, Nick Fortino wrote:
>
> From configure.ac, schroot links in libraries via the LD_FLAGS variable, 
> rather than the standard LIBS variable. This causes failures in the 
> configure stage when the --as-needed is used, as the link order is wrong.

I've applied the patch, thanks.
http://git.debian.org/?p=buildd-tools/schroot.git;a=commitdiff;h=af486d2b89d79eb1ea81181da6a6e1281561385b

> http://www.gentoo.org/proj/en/qa/asneeded.xml has a verbose treatise on  
> the subject, the case at the bottom of the page being the relevant 
> failure.

I can't say I'm a fan of --as-needed, but the patch does no harm and is
an improvement.  For schroot, we only link the specific libraries we are
going to use, so it will not actually have any effect.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.





More information about the Buildd-tools-devel mailing list