diff options
author | Brad King <brad.king@kitware.com> | 2007-05-16 13:07:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-16 13:07:53 (GMT) |
commit | bd789527480cdf4573503946ab6b2622a88f3049 (patch) | |
tree | 8aac4d364425d563bd53408f21753f8e72d75f3b | |
parent | 27727a2bbaddf829148e201b2c10903a2a1be01f (diff) | |
download | CMake-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.cxx | 2 |
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 = |