You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/debian/patches/do-not-use-lib64.diff

19 lines
499 B

--- cmake-2.6.0-RC-8.orig/Source/cmFindLibraryCommand.cxx
+++ cmake-2.6.0-RC-8/Source/cmFindLibraryCommand.cxx
@@ -162,6 +162,7 @@
void cmFindLibraryCommand::AddLib64Paths()
{
+#if 0 /* should not be done on Debian, just make it do nothing */
if(!this->Makefile->GetLocalGenerator()->GetGlobalGenerator()->
GetLanguageEnabled("C"))
{
@@ -209,6 +210,7 @@
{
this->SearchPaths = path64;
}
+#endif
}
std::string cmFindLibraryCommand::FindLibrary(const char* name)