Merge pull request #129 from jdeseno/master

fix makefile pkg-config sdl2 detection
This commit is contained in:
Tony Aldridge
2014-06-18 11:30:25 +01:00
+1 -1
View File
@@ -18,7 +18,7 @@ UNAME=$(shell uname)
ifeq ($(UNAME),Darwin)
# If the user wasn't explicit, see if SDL2 library exists
ifeq ("$(strip $(SDL_MODE))","")
SDL_CHECK=$(shell pkg-config --exists sdl2)
SDL_CHECK=$(shell pkg-config --exists sdl2 && echo $$?)
ifeq ($(SDL_CHECK),0)
SDL_MODE = dylib
else