bug-libtool
[Top][All Lists]
Advanced

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

Re: BUG: library type search order


From: Gary V . Vaughan
Subject: Re: BUG: library type search order
Date: Wed, 4 Feb 2004 08:19:58 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Wednesday, February 4, 2004, at 05:00  am, Peter O'Gorman wrote:
Scott James Remnant wrote:
| Before replying, I tested it myself with 1.5.2 and it does indeed still | fail ... I guess Ben's patch somewhere along the line has broken again?
|

Bugger!

Does this fix it for you (it seems to work for me on darwin)?

2004-02-04  Peter O'Gorman  <address@hidden>

        * ltmain.in: eval the standard shared library extension early
        so we can use it later. Use this to ensure that we use the first
        library in the path, not the first .la. Bug from Markus Diesmann
        <address@hidden>.

Darwin is unusual in being the only host that has an expression in shrext, every other setting of shrext is a string, so this patch is a NOP on other
hosts.

That aside, it would be worth auditing uses of shrext throughout libtool.m4 and ltmain.in (for HEAD and branch-1-5) to make sure it is evaled prior to
use on every occurrence.

ISTR the naming convention is to use _cmd as a suffix for shell vars that must be evaled like this, precisely to stop us doing silly things like this in ltmain.in. A complete patch will have to rename shrext to shrext_cmd.

:-(

Cheers,
        Gary.
- -- Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFAIKs1FRMICSmD1gYRAhfcAJ4zl/PjcOxYCSkeJSr8IO/LxEdlKQCdFNmR
Hm7ufkxrvGLgv7ZBZML/0Jo=
=wF2d
-----END PGP SIGNATURE-----





reply via email to

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