From bd789527480cdf4573503946ab6b2622a88f3049 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 16 May 2007 09:07:53 -0400 Subject: BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by David Faure. --- Source/cmLocalGenerator.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 5d7dcde..90fcb7b 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1511,6 +1511,8 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout, // 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 = -- cgit v0.12