summaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index ae166a574d..8fc4153acb 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -192,7 +192,7 @@ Path::FindLibrary(std::string& name) {
}
StringRef Path::GetDLLSuffix() {
- return LTDL_SHLIB_EXT;
+ return &(LTDL_SHLIB_EXT[1]);
}
bool