* lib/target-supports.exp (check_iconv_available): Fix fallout
from 2004-05-28 patch.
From-SVN: r82460
+2004-05-30 Graham Stott <graham.stott@btinternet.com>
+
+ * lib/target-supports.exp (check_iconv_available): Fix fallout
+ from 2004-05-28 patch.
+
2004-05-30 Paul Brook <paul@codesourcery.com>
PR fortran/15620
set lines [${tool}_target_compile $src $exe executable "libs=$libiconv" ]
file delete $src
- remote_file build delete $exe
if [string match "" $lines] then {
# No error messages, everything is OK.
- set result [${tool}_load "./tmp.x" "" ""]
+ set result [${tool}_load "./$exe" "" ""]
set status [lindex $result 0];
+ remote_file build delete $exe
verbose "check_iconv_available status is <$status>" 2