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: Bob Friesenhahn
Subject: Re: Linking with '-L /path/to/lib' (note the space!)
Date: Thu, 21 Aug 2008 13:29:19 -0500 (CDT)

On Thu, 21 Aug 2008, Ralf Wildenhues wrote:

Hi Olaf,

* 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
it give a warning, but instead the option will be interpreted as two
options, so that the linker command will get the current working
directory as flag to the linker (from -L), plus /path/to/lib as compiler
input argument.

Thanks for the bug report.  OK to put you in THANKS?

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.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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