summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index b460f10941..ac061e309c 100644
--- a/wscript
+++ b/wscript
@@ -778,7 +778,7 @@ hwaccel_features = [
}, {
'name': '--videotoolbox-hwaccel-new',
'desc': 'libavcodec videotoolbox hwaccel (new API)',
- 'deps': [ 'gl-cocoa' ],
+ 'deps_any': [ 'gl-cocoa', 'ios-gl' ],
'func': check_statement('libavcodec/version.h',
'int x[(LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 96, 100) && '
' LIBAVCODEC_VERSION_MICRO >= 100)'
@@ -787,7 +787,7 @@ hwaccel_features = [
}, {
'name': '--videotoolbox-hwaccel-old',
'desc': 'libavcodec videotoolbox hwaccel (old API)',
- 'deps': [ 'gl-cocoa' ],
+ 'deps_any': [ 'gl-cocoa', 'ios-gl' ],
'deps_neg': [ 'videotoolbox-hwaccel-new' ],
'func': compose_checks(
check_headers('VideoToolbox/VideoToolbox.h'),