mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
Avoid a warning from make on Windows.
scripts/Mmake.vars.in:
The cygpath utility prints a warning if it is invoked with an empty
argument.
This commit is contained in:
@@ -50,7 +50,13 @@ endif
|
||||
# occurrence of $(patsubst ...), since GNU Make does not respect quotes.
|
||||
UNIX_MERCURY_EXTRA_INT_DIRS = $(foreach dir, $(MERCURY_EXTRA_INT_DIRS),\
|
||||
$(shell @CYGPATHU@ "$(dir)"))
|
||||
UNIX_MERC_INT_DIR = $(shell @CYGPATHU@ "$(MERC_INT_DIR)")
|
||||
|
||||
ifdef MERC_INT_DIR
|
||||
UNIX_MERC_INT_DIR = $(shell @CYGPATHU@ "$(MERC_INT_DIR)")
|
||||
else
|
||||
UNIX_MERC_INT_DIR =
|
||||
endif
|
||||
|
||||
UNIX_MERCURY_EXTRA_INIT_DIRS = $(foreach dir, $(MERCURY_EXTRA_INIT_DIRS),\
|
||||
$(shell @CYGPATHU@ "$(dir)"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user