summaryrefslogtreecommitdiff
path: root/lib/Support/PluginLoader.cpp
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-01-26 20:59:41 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-01-26 20:59:41 +0000
commit7f7d16b62f9789c378a489a65ad51d50687c4c36 (patch)
tree0dc7f53fb0aa8b8b0d0d15c39b72235b37b76217 /lib/Support/PluginLoader.cpp
parent48e9f26df5f6085a1c972069ba6aa227821cd41c (diff)
downloadllvm-7f7d16b62f9789c378a489a65ad51d50687c4c36.tar.gz
llvm-7f7d16b62f9789c378a489a65ad51d50687c4c36.tar.bz2
llvm-7f7d16b62f9789c378a489a65ad51d50687c4c36.tar.xz
Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into
every file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PluginLoader.cpp')
-rw-r--r--lib/Support/PluginLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/PluginLoader.cpp b/lib/Support/PluginLoader.cpp
index be8833d009..1e67b94f69 100644
--- a/lib/Support/PluginLoader.cpp
+++ b/lib/Support/PluginLoader.cpp
@@ -37,5 +37,5 @@ namespace {
// This causes operator= above to be invoked for every -load option.
static cl::opt<PluginLoader, false, cl::parser<std::string> >
-LoadOpt("load", cl::ZeroOrMore, cl::value_desc("plugin.so"),
+LoadOpt("load", cl::ZeroOrMore, cl::value_desc("plugin" SHLIBEXT),
cl::desc("Load the specified plugin"));