summaryrefslogtreecommitdiff
path: root/driver/ghc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ghc/Makefile')
-rw-r--r--driver/ghc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/driver/ghc/Makefile b/driver/ghc/Makefile
index 4eeb3f96ca..55167ecf9b 100644
--- a/driver/ghc/Makefile
+++ b/driver/ghc/Makefile
@@ -1,7 +1,10 @@
TOP=../..
include $(TOP)/mk/boilerplate.mk
-ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+C_PROG = ghc-$(ProjectVersion)
+INSTALL_PROGS += $(C_PROG)
+else
SCRIPT_DIR = $(DESTDIR)$(bindir)
SCRIPT_BASE = ghc
SCRIPT_VERSIONED_BASE = $(SCRIPT_BASE)-$(ProjectVersion)