From 9bf0811e34e7d26eb4aaf7bb250b1fd8be5cbb87 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 24 Feb 2005 15:36:56 -0500 Subject: COMP: remove compiler warning --- Source/cmOrderLinkDirectories.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index d11853e..6e2ef34 100644 --- a/Source/cmOrderLinkDirectories.cxx +++ b/Source/cmOrderLinkDirectories.cxx @@ -6,11 +6,11 @@ //------------------------------------------------------------------- bool cmOrderLinkDirectories::LibraryInDirectory(const char* dir, - const char* lib) + const char* libIn) { cmStdString path = dir; path += "/"; - path += lib; + path += libIn; // first look for the library as given if(cmSystemTools::FileExists(path.c_str())) { @@ -18,7 +18,7 @@ bool cmOrderLinkDirectories::LibraryInDirectory(const char* dir, } // next remove the extension (.a, .so ) and look for the library // under a different name as the linker can do either - if(m_RemoveLibraryExtension.find(lib)) + if(m_RemoveLibraryExtension.find(libIn)) { cmStdString lib = m_RemoveLibraryExtension.match(1); cmStdString ext = m_RemoveLibraryExtension.match(2); -- cgit v0.12