mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -337,7 +337,7 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
|
||||
|
||||
int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
|
||||
std::string &OutputFile) {
|
||||
OutputFile = getUniqueFilename(InputFile+".so");
|
||||
OutputFile = getUniqueFilename(InputFile+SHLIBEXT);
|
||||
// Compile the C/asm file into a shared object
|
||||
const char* GCCArgs[] = {
|
||||
GCCPath.c_str(),
|
||||
|
Reference in New Issue
Block a user