summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-06 01:03:24 +0200
committerwm4 <wm4@nowhere>2015-08-06 01:03:24 +0200
commit8c388ce79c2e2360e8b7a719ac5a270841f8c319 (patch)
tree2c1baa13efb60a7b03f709a17f50b7fdb4e67369 /wscript
parent70e0bc1e4a6fbf43bf9784a8a3b840468fb1d347 (diff)
downloadmpv-8c388ce79c2e2360e8b7a719ac5a270841f8c319.tar.bz2
mpv-8c388ce79c2e2360e8b7a719ac5a270841f8c319.tar.xz
build: fix build with --disable-tv --enable-pvr
These share some code (frequencies.c at least), so linking was failing. Fix by making pvr depend on tv.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5e4ff59442..23a8a52501 100644
--- a/wscript
+++ b/wscript
@@ -797,6 +797,7 @@ radio_and_tv_features = [
}, {
'name': '--pvr',
'desc': 'Video4Linux2 MPEG PVR interface',
+ 'deps': [ 'tv' ],
'func': check_cc(fragment=load_fragment('pvr.c')),
}, {
'name': '--audio-input',