libtool
[Top][All Lists]
Advanced

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

Re: -Wl,-rpath issues


From: Albert Chin
Subject: Re: -Wl,-rpath issues
Date: Mon, 16 Feb 2004 10:09:54 -0600
User-agent: Mutt/1.4i

On Mon, Feb 16, 2004 at 10:58:20AM -0500, Steven F. Killen wrote:
> I did some searching in libtool and bugs-libtool, and didn't find anything
> directly related to a problem I'm having with LDFLAGS and libtool.
> 
> Due to our distribution mechanism, programs that use shared libraries need
> to be told where to look at runtime. LDFLAGS looks like this:
> 
> -L/usr/local/lib -Wl,-rpath /usr/local/lib

You should use -Wl,-rpath,/usr/local/lib
                         ^
-- 
albert chin (address@hidden)




reply via email to

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