From e2f4caea36baf88c95a4fddc4f57c969d8f78834 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Wed, 15 Jan 2003 12:04:38 +0000 Subject: (CURDIR): Convert to native Windows format (with forward slashes), to support building with Cygwin builds of make. --- nt/gmake.defs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nt/gmake.defs') diff --git a/nt/gmake.defs b/nt/gmake.defs index 2235417aca4..9671142be63 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -78,6 +78,10 @@ endif MAKETYPE=gmake +# Convert CURDIR to native file name, if in Cygwin format +ifeq "$(shell cygpath $(CURDIR))" "$(CURDIR)" +CURDIR := $(shell cygpath -m $(CURDIR)) +endif THISDIR = . # Cygwin has changed quoting rules somewhat since b20, in a way that -- cgit v1.2.1