summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-16 13:07:53 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-16 13:07:53 (GMT)
commitbd789527480cdf4573503946ab6b2622a88f3049 (patch)
tree8aac4d364425d563bd53408f21753f8e72d75f3b
parent27727a2bbaddf829148e201b2c10903a2a1be01f (diff)
downloadCMake-bd789527480cdf4573503946ab6b2622a88f3049.zip
CMake-bd789527480cdf4573503946ab6b2622a88f3049.tar.gz
CMake-bd789527480cdf4573503946ab6b2622a88f3049.tar.bz2
BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by David Faure.
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
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 =