1
0
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:
Mark Pizzolato
2015-02-05 15:48:16 -08:00
parent 3b33804327
commit 0fd4a9f178

View File

@@ -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