win32: COMSPEC is sometimes ComSpec

This commit is contained in:
Thomas Bernard
2019-03-08 18:55:06 +01:00
parent 0cd9784943
commit 0af0ac0f29
2 changed files with 8 additions and 0 deletions

View File

@@ -97,6 +97,10 @@ PKG_CONFIG ?= pkg-config
# There is no uname under windows, but we can guess we are there with the COMSPEC env.var
# Windows specific
ifdef ComSpec
# sometimes, it is ComSpec, sometimes it is COMSPEC
COMSPEC = $(ComSpec)
endif
ifdef COMSPEC
DELCOMMAND = rm -f
MKDIR = mkdir -p