Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.260
diff -u -p -r1.260 ltmain.in
--- ltmain.in	2001/05/27 23:20:45	1.260
+++ ltmain.in	2001/06/03 09:39:14
@@ -3977,7 +3977,9 @@ static const void *lt_preloaded_setup() 
 	esac
 	# test for cygwin because mv fails w/o .exe extensions
 	case $host in
-	  *cygwin*) exeext=.exe ;;
+	  *cygwin*)
+	      exeext=.exe
+	      outputname=`echo $outputname|sed 's,.exe$,,'` ;;
 	  *) exeext= ;;
 	esac
 	$rm $output
