From 0fd4a9f1783645c46a75853f1d42426dd260c0b4 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 5 Feb 2015 15:48:16 -0800 Subject: [PATCH] VIDEO: Fix makefile for building on OS X with SDL (vs SDL2). --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 1a3b31c3..afcfae9a 100644 --- a/makefile +++ b/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