From 19a5b20752ecc7465cf17781f908e12bf4ca136d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 May 2015 18:09:01 +0200 Subject: cocoa: always compile OSX application code with cocoa This unbreaks compiling command line player and libmpv at the same time. The problem was that doing so silently disabled the OSX application thing - but the command line player can not use the vo_opengl Cocoa backend without it. The OSX application code is basically dead in libmpv, but it's not that much code anyway. If you want a mpv binary that does not create an OSX application singleton (and creates a menu etc.), you must disable cocoa completely, as cocoa can't be used anyway in this case. --- wscript_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index e2d1562d5b..89ec67c471 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -373,7 +373,7 @@ def build(ctx): ( "osdep/threads.c" ), ( "osdep/ar/HIDRemote.m", "apple-remote" ), - ( "osdep/macosx_application.m", "cocoa-application" ), + ( "osdep/macosx_application.m", "cocoa" ), ( "osdep/macosx_events.m", "cocoa" ), ( "osdep/semaphore_osx.c" ), ( "osdep/subprocess.c" ), -- cgit v1.2.3