Commit 35326233 by Andreas Tobler Committed by Andreas Tobler

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
parent b426200a
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
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment