Fix Windows build (missing OSTYPE => YQ2_OSTYPE in Makefile)

This commit is contained in:
Daniel Gibson 2017-04-04 17:34:19 +02:00
parent 7fe6412d70
commit 54b38176ef
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ endif
# On Windows / MinGW $(CC) is
# undefined by default.
ifeq ($(OSTYPE),Windows)
ifeq ($(YQ2_OSTYPE),Windows)
CC := gcc
endif
@ -199,7 +199,7 @@ endif
# Extra CFLAGS for SDL
ifeq ($(WITH_SDL2),yes)
ifeq ($(OSTYPE),Windows)
ifeq ($(YQ2_OSTYPE),Windows)
SDLCFLAGS := $(shell /custom/bin/sdl2-config --cflags)
else
SDLCFLAGS := $(shell sdl2-config --cflags)