mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Merge pull request #137 from jdeseno/master
Fix osx+pkg-config build with rust-empty.mk file
This commit is contained in:
+1
-1
@@ -50,7 +50,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
|
||||
|
||||
Reference in New Issue
Block a user