Skip to content
Snippets Groups Projects
Commit da6a20f5 authored by andreast's avatar andreast
Browse files

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

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106403 138bc75d-0d04-0410-961f-82ee72b054a4
parent 61631574
No related branches found
No related tags found
No related merge requests found
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> 2005-10-12 Andrew Haley <aph@redhat.com>
PR java/24251 PR java/24251
......
...@@ -242,7 +242,7 @@ proc libjava_init { args } { ...@@ -242,7 +242,7 @@ proc libjava_init { args } {
proc libjava_find_lib {dir name} { proc libjava_find_lib {dir name} {
global base_dir global base_dir
set gp [get_multilibs] set gp [get_multilibs]
foreach extension {so dll a} { foreach extension {so dll dylib a} {
foreach sub {.libs _libs} { foreach sub {.libs _libs} {
if {$gp != ""} { if {$gp != ""} {
if {[file exists $gp/$dir/$sub/lib${name}.${extension}]} then { if {[file exists $gp/$dir/$sub/lib${name}.${extension}]} then {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment