bug-libtool
[Top][All Lists]
Advanced

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

Re: Linking with '-L /path/to/lib' (note the space!)


From: Peter O'Gorman
Subject: Re: Linking with '-L /path/to/lib' (note the space!)
Date: Thu, 21 Aug 2008 14:20:42 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Ralf Wildenhues wrote:
> * Bob Friesenhahn wrote on Thu, Aug 21, 2008 at 08:29:19PM CEST:
>> On Thu, 21 Aug 2008, Ralf Wildenhues wrote:
>>> * Olaf Lenz wrote on Thu, Aug 21, 2008 at 02:56:10PM CEST:
>>>> When I pass the option "-L /path/to/lib" (note the space between -L and
>>>> /path/to/lib) to libtool in linking mode, libtool does not fail nor does
> [...]
>>> Others, OK for the patch below, or should we just parse that construct
>>> correctly?
>> Please apply this patch.  Allowing spaces in arguments will simply  
>> discover otherwise non-existing bugs somewhere else.
> 
> Well, libtool *could* also remove the space.  I'm just not sure whether
> it's worth supporting this.

At least OSF/1 cc does not deal well with a space after -L, so even
without libtool in the middle, it would fail on some systems. I think
simply erroring out with a helpful message is fine.

Patch looks ok to me.

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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