From: sof Date: Sat, 22 Mar 1997 13:31:22 +0000 (+0000) Subject: [project @ 1997-03-22 13:31:22 by sof] X-Git-Tag: Approximately_1000_patches_recorded~745 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a5db334274b8455af6971237b864d542f82fece4;p=ghc-hetmet.git [project @ 1997-03-22 13:31:22 by sof] Append .exe for binaries generated with cygwin32s linker --- diff --git a/ghc/driver/ghc-consist.lprl b/ghc/driver/ghc-consist.lprl index 59d220e..072c6c6 100644 --- a/ghc/driver/ghc-consist.lprl +++ b/ghc/driver/ghc-consist.lprl @@ -7,10 +7,12 @@ \begin{code} sub chk_consistency_info { local($executable) = @_; - + local($major_version, $minor_version); local($phase, $infile, $opts); + $executable = "${executable}.exe" if $TargetPlatform eq 'i386-unknown-cygwin32'; + print STDERR "Checking consistency of: $executable\n" if $Verbose; &tidy_up_and_die(1, "Panic: no such executable: $executable\n")