diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-11-02 20:32:59 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-11-02 20:32:59 +0000 |
commit | 2c3991acf3c78c35b4e977a7ae023924f1443054 (patch) | |
tree | 972c4c760326dbc717fc6abd226266b88983c07c /llvm/lib/Linker/Linker.cpp | |
parent | f26f4a05354868bf576638e750896a0c8dc80515 (diff) | |
download | bcm5719-llvm-2c3991acf3c78c35b4e977a7ae023924f1443054.tar.gz bcm5719-llvm-2c3991acf3c78c35b4e977a7ae023924f1443054.zip |
GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT.
This allows using GetDLLSuffix() with appendSuffix().
llvm-svn: 118051
Diffstat (limited to 'llvm/lib/Linker/Linker.cpp')
-rw-r--r-- | llvm/lib/Linker/Linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp index eb3fb6b1c2a..19ecaa3965d 100644 --- a/llvm/lib/Linker/Linker.cpp +++ b/llvm/lib/Linker/Linker.cpp @@ -133,7 +133,7 @@ static inline sys::Path IsLibrary(StringRef Name, // Try the libX.so (or .dylib) form FullPath.eraseSuffix(); - FullPath.appendSuffix(&(LTDL_SHLIB_EXT[1])); + FullPath.appendSuffix(sys::Path::GetDLLSuffix()); if (FullPath.isDynamicLibrary()) // Native shared library? return FullPath; if (FullPath.isBitcodeFile()) // .so file containing bitcode? |