summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-25 22:02:16 +0200
committerwm4 <wm4@nowhere>2019-10-25 22:02:16 +0200
commite63091b3cc37978165a552b4d8ca63e6cb56f707 (patch)
tree0ee8965834a5d420dc81bc853c924e3a10e13f64 /wscript
parent9471077efd5ef43e6613bf003198d76a1120b29b (diff)
downloadmpv-e63091b3cc37978165a552b4d8ca63e6cb56f707.tar.bz2
mpv-e63091b3cc37978165a552b4d8ca63e6cb56f707.tar.xz
build: make vo_sdl conflict with cocoa
These are inherently incompatible. As far as I'm aware, SDL must be used from the main thread on OSX. (Technically, this condition is wrong: the problem happens on OSX in general, or more precisely, when SDL uses Cocoa. I didn't find the waf OSX dependency name after 5 second of searching, so I'm just using cocoa, without which mpv is useless on OSX anyway.)
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index c2b84411a5..830201a6bd 100644
--- a/wscript
+++ b/wscript
@@ -576,6 +576,7 @@ video_output_features = [
'name': '--sdl2-video',
'desc': 'SDL2 video output',
'deps': 'sdl2',
+ 'deps_neg': 'cocoa',
'func': check_true,
}, {
'name': '--cocoa',