From a5db334274b8455af6971237b864d542f82fece4 Mon Sep 17 00:00:00 2001 From: sof Date: Sat, 22 Mar 1997 13:31:22 +0000 Subject: [PATCH] [project @ 1997-03-22 13:31:22 by sof] Append .exe for binaries generated with cygwin32s linker --- ghc/driver/ghc-consist.lprl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") -- 1.7.10.4