VIDEO: Fix makefile for building on OS X with SDL (vs SDL2).
This commit is contained in:
parent
3b33804327
commit
0fd4a9f178
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
@ -418,7 +418,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||
VIDEO_FEATURES = - video capabilities provided by libSDL (Simple Directmedia Layer)
|
||||
$(info using libSDL: $(call find_lib,SDL) $(call find_include,SDL/SDL))
|
||||
ifeq (Darwin,$(OSTYPE))
|
||||
VIDEO_LDFLAGS += -lobjc -framework cocoa
|
||||
VIDEO_LDFLAGS += -lobjc -framework cocoa -DSDL_MAIN_AVAILABLE
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue