Genericize implementation of GetDLLSuffix now that we have LTDL_SHLIB_EXT

available.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-12-13 18:41:28 +00:00
parent 2923f34533
commit 79fc924957
10 changed files with 6 additions and 45 deletions

View File

@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/System/Path.h"
#include "llvm/Config/config.h"
#include <cassert>
namespace llvm {
@@ -80,6 +81,11 @@ Path::FindLibrary(std::string& name) {
return sys::Path();
}
std::string
Path::GetDLLSuffix() {
return LTDL_SHLIB_EXT;
}
}
// Include the truly platform-specific parts of this class.