Commit 1f4a355a by Bryce McKinlay

libjava.exp (libjava_find_gij): Use $objdir/..

2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>

	* testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to
	find gij if get_multilibs fails.

From-SVN: r99448
parent c3d4c143
...@@ -278,6 +278,10 @@ proc libjava_find_gij {} { ...@@ -278,6 +278,10 @@ proc libjava_find_gij {} {
global base_dir objdir global base_dir objdir
set gijdir [lookfor_file [get_multilibs] libjava]; set gijdir [lookfor_file [get_multilibs] libjava];
# Fall back if get_multilibs fails.
if {$gijdir == ""} {
set gijdir "$objdir/.."
}
if {! [file exists $gijdir/gij]} { if {! [file exists $gijdir/gij]} {
return "" return ""
} }
......
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