mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Shared library extension is now in LTDL_SHLIB_EXT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29ae1777c1
commit
a564845f83
@ -60,8 +60,8 @@ std::string llvm::FindLib(const std::string &Filename,
|
||||
if (!SharedObjectOnly && FileOpenable(Directory + LibName + ".bc"))
|
||||
return Directory + LibName + ".bc";
|
||||
|
||||
if (FileOpenable(Directory + LibName + SHLIBEXT))
|
||||
return Directory + LibName + SHLIBEXT;
|
||||
if (FileOpenable(Directory + LibName + LTDL_SHLIB_EXT))
|
||||
return Directory + LibName + LTDL_SHLIB_EXT;
|
||||
|
||||
if (!SharedObjectOnly && FileOpenable(Directory + LibName + ".a"))
|
||||
return Directory + LibName + ".a";
|
||||
|
@ -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(),
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user