mirror of
https://github.com/open-simh/simh.git
synced 2026-01-23 11:07:45 +00:00
VIDEO: Fix makefile for building on OS X with SDL (vs SDL2).
This commit is contained in:
parent
3b33804327
commit
0fd4a9f178
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…
x
Reference in New Issue
Block a user