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:
committed by
Andreas Tobler
parent
b426200a44
commit
3532623302
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user