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
This commit is contained in:
Bryce McKinlay 2005-05-09 17:52:36 +01:00
parent c3d4c14338
commit 1f4a355acb

View File

@ -278,6 +278,10 @@ proc libjava_find_gij {} {
global base_dir objdir
set gijdir [lookfor_file [get_multilibs] libjava];
# Fall back if get_multilibs fails.
if {$gijdir == ""} {
set gijdir "$objdir/.."
}
if {! [file exists $gijdir/gij]} {
return ""
}