basedir-spec issue
Rodney Dawes
dobey at ximian.com
Tue May 11 02:18:36 EEST 2004
Somehow I think manually editing the compile command line counts as
"fiddling". :)
-- dobey
On Hën , 2004-05-10 at 23:30 +0100, Mike Hearn wrote:
> On Mon, 10 May 2004 09:11:49 -0400, Rodney Dawes wrote:
> > The rpath stuff only gets set
> > properly if the .la files are available for libtool to use, which aren't
> > needed on linux. Distributions like Red Hat, have started to get rid of
> > them completely.
>
> If you assume an FHS layout then you can do this:
>
> --rpath='${ORIGIN}/../lib'
>
> which will cause a program /opt/bin/foo to look in /opt/lib for its
> libraries.
>
> This is a little known trick. It is however entirely standard (it's a part
> of the ELF spec). Maybe this is what you are looking for?
>
> apbuild sets this automatically on the grounds that it's nearly always the
> right thing to do.
>
> thanks -mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xdg/attachments/20040510/9d8d191b/attachment.pgp
More information about the xdg
mailing list