aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes <[email protected]>2003-01-15 12:04:38 +0000
committerAndrew Innes <[email protected]>2003-01-15 12:04:38 +0000
commite2f4caea36baf88c95a4fddc4f57c969d8f78834 (patch)
treefe676a472bda1be8145b8ff9287773008ef806bf
parentdf07339abb72bacf8538628d5abcbbdfd4e0e54d (diff)
(CURDIR): Convert to native Windows format (with
forward slashes), to support building with Cygwin builds of make.
-rw-r--r--nt/gmake.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/nt/gmake.defs b/nt/gmake.defs
index 2235417aca..9671142be6 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