mirror of
https://github.com/simh/simh.git
synced 2026-03-05 02:45:19 +00:00
VIDEO: Fix makefile for building on OS X with SDL (vs SDL2).
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user