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:
Reid Spencer 2004-11-29 12:40:21 +00:00
parent 29ae1777c1
commit a564845f83
3 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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(),

View File

@ -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(),