libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.

2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (libjava_arguments): Don't link
	with -no-install on *-*-cygwin*.

From-SVN: r53210
This commit is contained in:
David Billinghurst 2002-05-06 11:37:34 +00:00 committed by David Billinghurst
parent adc502b4c5
commit 736a57deec
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (libjava_arguments): Don't link
with -no-install on *-*-cygwin*.
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_source):

View File

@ -368,8 +368,11 @@ proc libjava_arguments {{mode compile}} {
}
# Avoid libtool wrapper scripts when possible.
# but not if libtool warnings results in FAILs
if {$mode == "link"} {
lappend args "additional_flags=-no-install"
if {! [istarget "*-*-cygwin*"]} {
lappend args "additional_flags=-no-install"
}
}
return $args