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