Merge pull request #37 from koljakube/master

Make check for empty SDL_MODE environment variable more robust
This commit is contained in:
Tony Aldridge
2014-01-17 06:19:24 -08:00
+1 -1
View File
@@ -11,7 +11,7 @@ UNAME=$(shell uname)
ifeq ($(UNAME),Darwin)
# If the user wasn't explicit, see if SDL2 library exists
ifeq ($(SDL_MODE),)
ifeq ($(strip $(SDL_MODE)),"")
SDL_CHECK=$(shell pkg-config --exists sdl2)
ifeq ($(SDL_CHECK),0)
SDL_MODE = dylib