--as-needed problem

David Faure faure at kde.org
Tue Nov 9 17:56:08 GMT 2004

On Tuesday 09 November 2004 18:47, Szombathelyi György wrote:
> 2004. november 9. 18.32 dátummal David Faure ezt írta:
> >
> > If it prevents compiling kdelibs, it won't be any good to packagers either.
> >
> > This sounds like two conflicting libtool features - can't it be fixed in
> > libtool somehow? (hacking the RPATH or something)
> I don't think it's easily solvable. Libtool generates custom RPATH values only 
> for programs (in lt-progname), not for libraries. Libtool should 
> create ./libs/lt-library_name.so.x.x.x, not just ./libs/library_name.so.x.x.x 
> and link lt-progname not to library_name, but to lt-library_name. Then 
> lt-library_name.so.x.x.x can contain the custom RPATH values, like 
> lt-progname (which points to the build dir).

But it could also read those paths from the .la files, and use all of them
when linking lt-progname, couldn't it?

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-core-devel mailing list