mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT.
This allows using GetDLLSuffix() with appendSuffix(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
572ec1f3c0
commit
c8aef4b2ea
3 files changed
+3
-3
No files matched your search
@@ -455,7 +455,7 @@ static void EmitShellScript(char **argv, Module *M) {
|
||||
E = LibPaths.end(); P != E; ++P) {
|
||||
FullLibraryPath = *P;
|
||||
FullLibraryPath.appendComponent("lib" + *i);
|
||||
FullLibraryPath.appendSuffix(&(LTDL_SHLIB_EXT[1]));
|
||||
FullLibraryPath.appendSuffix(sys::Path::GetDLLSuffix());
|
||||
if (!FullLibraryPath.isEmpty()) {
|
||||
if (!FullLibraryPath.isDynamicLibrary()) {
|
||||
// Not a native shared library; mark as invalid
|
||||
|
||||
Reference in new issue
Block a user