This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ld --auto-import for cygwin and libtool




"Gary V. Vaughan" wrote:
> 
> Currently, on the various windows platforms, shlibpath_var is set to PATH,
> so setting shlibpath_var does indeed override the runpath (in a manner of
> speaking).
> 
> There are two ways to fix this:
>   i) deem that $PATH is _not_ the shlibpath_var and leave it unset.
>  ii) set shlibpath_overrides_runpath=yes to indicate that this works:
> 
>         $ PATH=/where/all/my/dlls/live:$PATH foo.exe
> 
> The second looks correct to me... and libtool seems to agree with me ;-b

Yes.  I was confused, but Robert's message clued me in.  Thanks to all
who responded.

--Chuck


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]