libjava.exp (libjava_find_lib): Add dylib to the shared library extensions.

2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
	library extensions.

From-SVN: r106403
This commit is contained in:
Andreas Tobler 2005-11-02 23:02:14 +01:00 committed by Andreas Tobler
parent b426200a44
commit 3532623302
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
library extensions.
2005-10-12 Andrew Haley <aph@redhat.com>
PR java/24251

View File

@ -242,7 +242,7 @@ proc libjava_init { args } {
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 {