find_library: Refactor lib->lib64 conversion

Previously methods AddArchitecturePaths and AddLib64Paths were almost
identical.  Replace the latter with a call to the former.  Fix the
AddArchitecturePaths implementation to add trailing slashes to all
tested paths.
This commit is contained in:
Brad King
2012-07-20 13:28:49 -04:00
parent 1fe4b82a45
commit 6ca2f82d0d
2 changed files with 5 additions and 49 deletions

View File

@@ -62,7 +62,6 @@ public:
protected:
void AddArchitecturePaths(const char* suffix);
void AddLib64Paths();
std::string FindLibrary();
virtual void GenerateDocumentation();
private: