win32: COMSPEC is sometimes ComSpec

This commit is contained in:
Thomas Bernard 2019-03-08 18:55:06 +01:00
parent 0cd9784943
commit 0af0ac0f29
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
2 changed files with 8 additions and 0 deletions

4
3rdparty/Makefile vendored
View File

@ -147,6 +147,10 @@ STRIP = strip
# There is no uname under windows, but we can guess we are there with the COMSPEC env.var # There is no uname under windows, but we can guess we are there with the COMSPEC env.var
# Windows specific # Windows specific
ifdef ComSpec
# sometimes, it is ComSpec, sometimes it is COMSPEC
COMSPEC = $(ComSpec)
endif
ifdef COMSPEC ifdef COMSPEC
WIN32 = 1 WIN32 = 1
RANLIB = ranlib RANLIB = ranlib

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 # There is no uname under windows, but we can guess we are there with the COMSPEC env.var
# Windows specific # Windows specific
ifdef ComSpec
# sometimes, it is ComSpec, sometimes it is COMSPEC
COMSPEC = $(ComSpec)
endif
ifdef COMSPEC ifdef COMSPEC
DELCOMMAND = rm -f DELCOMMAND = rm -f
MKDIR = mkdir -p MKDIR = mkdir -p