From 9eae079be036ab76c2f571862b29323659bbb772 Mon Sep 17 00:00:00 2001 From: rrt Date: Wed, 7 Mar 2001 10:23:03 +0000 Subject: [PATCH] [project @ 2001-03-07 10:23:03 by rrt] Make Windows path mangling of FPTOOLS_TOP_ABS work. --- mk/config.mk.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 # -- 1.7.10.4