Fix for OS detection on Win32.
This commit is contained in:
parent
f70f93024e
commit
50e262d739
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -16,7 +16,7 @@ MAGIC_API_VERSION:=0x00000001
|
||||||
# Need to know the OS
|
# Need to know the OS
|
||||||
|
|
||||||
SYSNAME:=$(shell uname -s)
|
SYSNAME:=$(shell uname -s)
|
||||||
ifeq ($(SYSNAME),MINGW32_NT-5.0)
|
ifeq ($(findstring MINGW32, $(SYSNAME)),MINGW32)
|
||||||
OS:=windows
|
OS:=windows
|
||||||
else
|
else
|
||||||
ifeq ($(SYSNAME),Darwin)
|
ifeq ($(SYSNAME),Darwin)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue