BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by David Faure.

This commit is contained in:
Brad King 2007-05-16 09:07:53 -04:00
parent 27727a2bba
commit bd78952748
1 changed files with 2 additions and 0 deletions

View File

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