summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ToolRunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/ToolRunner.cpp')
-rw-r--r--llvm/lib/Support/ToolRunner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ToolRunner.cpp b/llvm/lib/Support/ToolRunner.cpp
index fcbb3c15b5c..89f1a2a6fdd 100644
--- a/llvm/lib/Support/ToolRunner.cpp
+++ b/llvm/lib/Support/ToolRunner.cpp
@@ -399,7 +399,7 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
std::string &OutputFile) {
- OutputFile = getUniqueFilename(InputFile+SHLIBEXT);
+ OutputFile = getUniqueFilename(InputFile+LTDL_SHLIB_EXT);
// Compile the C/asm file into a shared object
const char* GCCArgs[] = {
GCCPath.c_str(),
OpenPOWER on IntegriCloud