From kde-core-devel Tue Nov 09 17:56:08 2004 From: David Faure Date: Tue, 09 Nov 2004 17:56:08 +0000 To: kde-core-devel Subject: Re: --as-needed problem Message-Id: <200411091856.09105.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110002286507017 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@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).