On Cygwin, Make wants to see Unix-style pathnames
This commit is contained in:
parent
cd2644df49
commit
386161779b
1 changed files with 8 additions and 2 deletions
10
Makefile
10
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
|
||||
|
|
Loading…
Reference in a new issue