[patch] testsuite/lib add missing darwin shlib extension
Andreas Tobler
toa@pop.agri.ch
Wed Nov 2 16:20:00 GMT 2005
Hello,
this patch adds the dylib extension to libjava_find_lib. This will help
in case of a shared library only build.
Ok for main?
Andreas
2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
library extensions.
Index: testsuite/lib/libjava.exp
===================================================================
--- testsuite/lib/libjava.exp (revision 106378)
+++ testsuite/lib/libjava.exp (working copy)
@@ -242,7 +242,7 @@
proc libjava_find_lib {dir name} {
global base_dir
set gp [get_multilibs]
- foreach extension {so dll a} {
+ foreach extension {so dll dylib a} {
foreach sub {.libs _libs} {
if {$gp != ""} {
if {[file exists
$gp/$dir/$sub/lib${name}.${extension}]} then {
More information about the Java-patches
mailing list