rpath on mac

David Faure faure at kde.org
Wed Jan 4 18:20:11 CET 2006


On Wednesday 04 January 2006 18:09, Alexander Neundorf wrote:
> On Wednesday 04 January 2006 14:25, Benjamin Reed wrote:
> > David Faure wrote:
> > > So there is no rpath equivalent on the mac?
> >
> > I don't believe so, no.  Libtool wraps a shell script that sets
> > DYLD_LIBRARY_PATH in the build directory, and then copies the real
> > executable from the .libs/ on install.
> 
> Sure ?
> I think there was something like this (i.e. a way to have an executable find 
> its libraries although they are not in the system path, right ?).

Yes.
But OTOH this is what makes it necessary to relink the program when installing
it (so that it doesn't keep the rpath to the build dirs in it), so maybe it's not so good.

I just wonder how scons/bksys solves the problem on linux (and windows).

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list