summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-29 21:19:02 +0100
committerwm4 <wm4@nowhere>2017-11-29 21:30:51 +0100
commit9c909fbb4d4abeabe9ac6731cb0c3f966dacf0ff (patch)
tree3f8e49a3cf2dbdaa0686efaeb0bb949eceaf4867
parent3d27a0792b603b749ac546b62ed58cb76ffc5ee9 (diff)
downloadmpv-9c909fbb4d4abeabe9ac6731cb0c3f966dacf0ff.tar.bz2
mpv-9c909fbb4d4abeabe9ac6731cb0c3f966dacf0ff.tar.xz
build: fix LGPL build with ALSA enabled
Oops. This is part of the TV code, for which we didn't make any effort to relicense. But files were always built, because they didn't depend on the common TV code. (The HAVE_GPL in the source file exposed this by making the build fail.)
-rw-r--r--wscript_build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript_build.py b/wscript_build.py
index e20af74c7e..12a4ea4da0 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -302,9 +302,9 @@ def build(ctx):
( "player/video.c" ),
## Streams
- ( "stream/ai_alsa1x.c", "alsa" ),
- ( "stream/ai_oss.c", "oss-audio" ),
- ( "stream/ai_sndio.c", "sndio" ),
+ ( "stream/ai_alsa1x.c", "alsa && audio-input" ),
+ ( "stream/ai_oss.c", "oss-audio && audio-input" ),
+ ( "stream/ai_sndio.c", "sndio && audio-input" ),
( "stream/audio_in.c", "audio-input" ),
( "stream/cache.c" ),
( "stream/cache_file.c" ),