Makefile: Fix Cygwin build

Fix Cygwin build; gmake's $(OS) will yield Windows_NT even on Cygwin.
This commit is contained in:
okuoku 2017-12-14 20:14:21 +09:00
parent 27d8174518
commit c3cbd9a2e2

View file

@ -29,9 +29,13 @@ ifeq ($(OS), Windows_NT)
ifeq ($(PLATFORM),msys)
EXCLUDE_WIN32_LIBS=1
else
ifeq ($(shell uname -o),Cygwin)
EXCLUDE_WIN32_LIBS=1
else
EXCLUDE_POSIX_LIBS=1
endif
endif
endif
########################################################################