[Top][All Lists]

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

RE: libtool doesn't process LD_FLAGS arguments properly

From: Gavrilov, Roman
Subject: RE: libtool doesn't process LD_FLAGS arguments properly
Date: Tue, 23 Nov 2010 12:13:44 -0000

Hi Gary,
Libtool ... -Wl,-rpath-link -Wl,PATH does work, now libtool passes it to
linker as is, but I don't think compiler would understand those
arguments as it expects the PATH to follow -Wl,-rpath-link.


-----Original Message-----
From: Gary V. Vaughan [mailto:address@hidden 
Sent: Tuesday, November 23, 2010 1:18 PM
To: Gavrilov, Roman
Cc: address@hidden
Subject: Re: libtool doesn't process LD_FLAGS arguments properly

On 23 Nov 2010, at 18:02, Gavrilov, Roman wrote:
I'm using libtool to build xerces3 & Xquilla both use libtool to build
the library.
> It seems that libtool doesn't process arguments properly especially
those that contain space in the arguments for example


  libtool ... -Wl,-rpath-link -Wl,PATH


  libtool ... -Xlinker -rpath-link -Xlinker PATH

If PATH also has spaces in it, libtool will probably get confused (shell
scripts are extremely difficult to get right with embedded spaces).  You
can work around that by creating a soft-link to a new path with no
spaces in it, and then pass *that* path in to libtool.

Gary V. Vaughan (address@hidden)

reply via email to

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