From: rrt Date: Wed, 7 Mar 2001 10:23:03 +0000 (+0000) Subject: [project @ 2001-03-07 10:23:03 by rrt] X-Git-Tag: Approximately_9120_patches~2457 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9eae079be036ab76c2f571862b29323659bbb772;p=ghc-hetmet.git [project @ 2001-03-07 10:23:03 by rrt] Make Windows path mangling of FPTOOLS_TOP_ABS work. --- diff --git a/mk/config.mk.in b/mk/config.mk.in index bf76828..2982a09 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -399,10 +399,10 @@ endif FPTOOLS_TOP_ABS = @hardtop@ ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32" -FPTOOLS_TOP_ABS = $(patsubst /cygdrive/%/,%:/,@hardtop@) +FPTOOLS_TOP_ABS = $(subst \,/,$(shell cygpath -w @hardtop@)) endif ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" -FPTOOLS_TOP_ABS = $(patsubst /cygdrive/%/,%:/,@hardtop@) +FPTOOLS_TOP_ABS = $(subst \,/,$(shell cygpath -w @hardtop@)) endif #