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

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
# Windows specific
ifdef ComSpec
# sometimes, it is ComSpec, sometimes it is COMSPEC
COMSPEC = $(ComSpec)
endif
ifdef COMSPEC
WIN32 = 1
RANLIB = ranlib