[llvm-commits] CVS: llvm/tools/gccld/Linker.cpp
John Criswell
criswell at cs.uiuc.edu
Mon Jan 26 15:00:04 PST 2004
Changes in directory llvm/tools/gccld:
Linker.cpp updated: 1.21 -> 1.22
---
Log message:
Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into
every file.
---
Diffs of the changes: (+2 -2)
Index: llvm/tools/gccld/Linker.cpp
diff -u llvm/tools/gccld/Linker.cpp:1.21 llvm/tools/gccld/Linker.cpp:1.22
--- llvm/tools/gccld/Linker.cpp:1.21 Tue Dec 23 14:27:14 2003
+++ llvm/tools/gccld/Linker.cpp Mon Jan 26 14:59:41 2004
@@ -56,8 +56,8 @@
if (!SharedObjectOnly && FileOpenable(Directory + LibName + ".bc"))
return Directory + LibName + ".bc";
- if (FileOpenable(Directory + LibName + ".so"))
- return Directory + LibName + ".so";
+ if (FileOpenable(Directory + LibName + SHLIBEXT))
+ return Directory + LibName + SHLIBEXT;
if (!SharedObjectOnly && FileOpenable(Directory + LibName + ".a"))
return Directory + LibName + ".a";
More information about the llvm-commits
mailing list