Merge pull request #447 from okuoku/win32-cmake

Makefile: Fix Cygwin build
This commit is contained in:
Alex Shinn 2017-12-14 20:46:13 +09:00 committed by GitHub
commit 779b0cf02a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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