Commit 7d556a43 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Filter colons out of ghc-config-mk

Otherwise the colon confuses make on Windows
parent ec735cae
......@@ -143,8 +143,10 @@ $(TOP)/mk/ghc-config : $(TOP)/mk/ghc-config.hs
space=$(empty) $(empty)
ghc-config-mk = $(TOP)/mk/ghcconfig$(subst $(space),_,$(subst /,_,$(subst \,_,$(TEST_HC)))).mk
ghc-config-mk = $(TOP)/mk/ghcconfig$(subst $(space),_,$(subst :,_,$(subst /,_,$(subst \,_,$(TEST_HC))))).mk
$(info TOP is $(TOP))
$(info ghc-config-mk is $(ghc-config-mk))
$(ghc-config-mk) : $(TOP)/mk/ghc-config
$(TOP)/mk/ghc-config "$(TEST_HC)" >"$@" || $(RM) "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment