diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-03-03 22:49:41 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-03-03 22:52:50 +0000 |
commit | 2b85372ca18115bb1d6363256fcea6f54e415bed (patch) | |
tree | 1ccbbac74ddbb89430cc07cbdedd9b48a5a44662 /driver/ghci | |
parent | 8640750e136f98767fc0678b35a20a6fb7970241 (diff) | |
download | haskell-2b85372ca18115bb1d6363256fcea6f54e415bed.tar.gz |
Automatically add the $(exeext) to program names
We now define _PROGNAME, and _PROG is automatically defined with
$(exeext). This will shortly automatically use the right exeext
depending on what stage it is being compiled with (exeext may be
different for different stages when cross-compiling).
Diffstat (limited to 'driver/ghci')
-rw-r--r-- | driver/ghci/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/ghc.mk b/driver/ghci/ghc.mk index c231347c0b..736b7a927d 100644 --- a/driver/ghci/ghc.mk +++ b/driver/ghci/ghc.mk @@ -31,7 +31,7 @@ else # Windows_Host... driver/ghci_dist_C_SRCS = ghci.c ../utils/cwrapper.c ../utils/getLocation.c driver/ghci_dist_CC_OPTS += -I driver/utils -driver/ghci_dist_PROG = ghci$(exeext) +driver/ghci_dist_PROGNAME = ghci driver/ghci_dist_INSTALL = YES driver/ghci_dist_INSTALL_INPLACE = YES driver/ghci_dist_OTHER_OBJS = driver/ghci/ghci.res |