libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] add libtool --mode=finish mode for sysroot


From: Paolo Bonzini
Subject: Re: [PATCH 2/2] add libtool --mode=finish mode for sysroot
Date: Thu, 12 Aug 2010 12:00:14 -0400
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 Mnenhy/0.8.3 Thunderbird/3.0.5

On 08/12/2010 01:12 AM, Charles Wilson wrote:
On 8/12/2010 12:12 AM, Paolo Bonzini wrote:

+         sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g" $lib>  $tmpdir/tmp-la

Hmmm.  Some of the test cases end up with dependency_libs like this:

dependency_libs=' -L=/mingw/lib =/mingw/lib/lib1.la'

This rule will catch the first element, but not the second.  What about:

sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g;s/\([ ']\)=/\1/g" $lib>
$tmpdir/tmp-la

Correct.

Paolo



reply via email to

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