summaryrefslogtreecommitdiff
path: root/driver/ghci/ghci.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ghci/ghci.c')
-rw-r--r--driver/ghci/ghci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/ghci.c b/driver/ghci/ghci.c
index a603655ec8..652770e39e 100644
--- a/driver/ghci/ghci.c
+++ b/driver/ghci/ghci.c
@@ -33,7 +33,7 @@ int main(int argc, char** argv) {
}
binDir = getExecutablePath();
- exePath = mkString("%s/ghc.exe", binDir);
+ exePath = mkString("%s/%s.exe", binDir, EXE_PATH);
preArgv[0] = "--interactive";
/* If ghc.exe can't be found, we assume that we're building ghc from