* Paolo Bonzini wrote: > On 07/07/2010 11:51 AM, Thierry Reding wrote: > >Hi, > > > >the following patch adds support for gcc's --sysroot argument to libtool. > >I'll post the patch first and will reply to it, giving more details where > >needed. > > > >I've been building a number of packages with variations of this patch > >depending on the libtool version. The most tricky packages were those > >building multiple libtool libraries with inter-dependencies (like glib and > >gtk). But even those build fine with this patch. > > > >One more important fact is that after installing packages I always delete the > >.la files from my sysroot so that any dependencies will never try to link > >against the .la file but against the .so directly. This seems to work rather > >well. > > > >I welcome any comments or suggestions. > > I have another sysroot patch that seems (from a first cursory view) > pretty different. I'll rebase and send.
That'll be nice to have. I could test your patch against my current setup and see whether it works for me. Thierry
signature.asc
Description: Digital signature