From 34e6a26f4d5ae06019d121b77c84ac84aa7069a1 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Fri, 31 Mar 2017 16:43:20 +0100 Subject: wscript: decouple dvdnav check from dvdread Reallows enabling dvdnav without enabling dvdread which was broken in 77cbb3543 when they were both disabled by default. Since dvdnav requires dvdread, we can enable dvdread:// even if --enable-dvdread isn't passed. Fixes #4290 --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 1dedc567e1..472856eb09 100644 --- a/wscript +++ b/wscript @@ -338,8 +338,8 @@ iconv support use --disable-iconv.", }, { 'name': '--dvdnav', 'desc': 'dvdnav support', - 'deps': [ 'dvdread' ], - 'func': check_pkg_config('dvdnav', '>= 4.2.0'), + 'func': check_pkg_config('dvdnav', '>= 4.2.0', + 'dvdread', '>= 4.1.0'), 'default': 'disable', }, { 'name': '--cdda', -- cgit v1.2.3