From 386161779b55755f145106cd53c5df80967e1c3b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 10 Feb 2012 13:53:45 +0200 Subject: [PATCH] On Cygwin, Make wants to see Unix-style pathnames --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 38ed6fc31d87..414de9085446 100644 --- a/Makefile +++ b/Makefile @@ -365,11 +365,17 @@ endif # # Bootstap # -$(WORKDIR)/bootstrap: +ifeq ($(OS_FOR_BUILD),WNT) +WORKDIR_BOOTSTRAP=$(shell cygpath -u $(WORKDIR))/bootstrap +else +WORKDIR_BOOTSTRAP=$(WORKDIR)/bootstrap +endif + +$(WORKDIR_BOOTSTRAP): @cd $(SRCDIR) && ./bootstrap @mkdir -p $(dir $@) && touch $@ -bootstrap: $(WORKDIR)/bootstrap +bootstrap: $(WORKDIR_BOOTSTRAP) # # Build