libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RFC] Add sysroot support.


From: Paolo Bonzini
Subject: Re: [PATCH RFC] Add sysroot support.
Date: Thu, 08 Jul 2010 19:02:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

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.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]