Re: relink_command quoting bug

2004-02-18 Thread Bob Friesenhahn
On Wed, 18 Feb 2004, Scott James Remnant wrote: > > > We already did that some time ago, if you search -patches passim. you'll > find I did that and found an even bigger problem... > > When directory names contain spaces the following kinda breaks... > > deplibs="-L/path/to/directory with/spaces in

Re: relink_command quoting bug

2004-02-18 Thread Scott James Remnant
On Tue, 2004-02-17 at 13:27, Peter O'Gorman wrote: > Michael Pruett wrote: > | The change you suggested fixed the first problem but not the second. > > We probably need to go through ltmain.in and modify every line containing > pwd we find, then modify every line that uses the vars that were assi

Re: relink_command quoting bug

2004-02-17 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Pruett wrote: | The change you suggested fixed the first problem but not the second. We probably need to go through ltmain.in and modify every line containing pwd we find, then modify every line that uses the vars that were assigned to the value

Re: relink_command quoting bug

2004-02-17 Thread Michael Pruett
On Tue, Feb 17, 2004 at 02:44:12AM -0600, Albert Chin wrote: > Search your "libtool" script for a line like: > relink_command="(cd `pwd`; ... > and change it to: > relink_command="(cd \"`pwd`\"; ... > > Does that fix it? I should have posted the original relink command in its entirety: relin

Re: relink_command quoting bug

2004-02-17 Thread Albert Chin
On Mon, Feb 16, 2004 at 11:39:17PM -0500, Michael Pruett wrote: > I have found that libtool fails to quote directory names when generating > relink_command in wrapper scripts. This has been tested with versions > 1.4.2a on Linux and 1.5.2 on Mac OS X. > > The wrapper scripts generate a line which

relink_command quoting bug

2004-02-16 Thread Michael Pruett
I have found that libtool fails to quote directory names when generating relink_command in wrapper scripts. This has been tested with versions 1.4.2a on Linux and 1.5.2 on Mac OS X. The wrapper scripts generate a line which looks like the following: relink_command="(cd /home/michael/my code/src;