RPATH order problem

David Faure faure at kde.org
Wed May 16 14:22:21 CEST 2007


On Friday 04 May 2007, David Faure wrote:
> It would just be much simpler if -L/usr/lib64 and -L/lib64 were never generated.

I was talking to Simon on IRC and he suggested that -L/usr/lib32 should also not be generated.
Can I suggest this patch? (I see that the CMake-2-4 branch is unchanged after this discussion,
so this is still TODO)

--- cmLocalGenerator.cxx        16 Mar 2007 22:05:42 -0000      1.132.2.11
+++ cmLocalGenerator.cxx        16 May 2007 12:20:30 -0000
@@ -1467,6 +1467,8 @@ void cmLocalGenerator::OutputLinkLibrari
   // Some search paths should never be emitted
   emitted.insert("");
   emitted.insert("/usr/lib");
+  emitted.insert("/usr/lib32");
+  emitted.insert("/usr/lib64");
   std::string libPathFlag =
     this->Makefile->GetRequiredDefinition("CMAKE_LIBRARY_PATH_FLAG");
   std::string libLinkFlag =


-- 
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