Subject: Re: RPATH (was Re: new packages)
To: Todd Vierling <tv@pobox.com>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 08/10/1998 16:41:00
On Mon, 10 Aug 1998, Todd Vierling wrote:
> : Please include -Wl,-R$(LOCALBASE)/lib  or -Wl,-R$(X11BASE)/lib whenever you use
> : the corresponding -L option.  This is an elf thing, and will not affect a.out
> : packages in any way.  It will however correctly build the ELF packages.  Its
> : usually a matter of adding this to the LDFLAGS somewhere in the pkg, in front
> : of whatever -L options you specify.  This is only needed when linking shared
> : libraries in..
> This is even easier with GNU pkgs.  If you add
> CONFIGURE_ENV+=	LDFLAGS="-Wl,-R${LOCALBASE}/lib"
> (or X11BASE, or both, as appropriate), it will DTRT automatically.

Couldn't we make some shorthand in our our toolchan for that, say - "-L"?


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>