summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-28 19:28:38 +0100
committerwm4 <wm4@nowhere>2013-11-28 19:28:38 +0100
commit0d255f07bf46948289a2698a4a7063514d0e1ef9 (patch)
tree640b11bf0a569aa9292db6e31e697ada2ccdba7f /wscript_build.py
parent0a18f3eb9a163b1cd656129dac6164d7914ecc41 (diff)
downloadmpv-0d255f07bf46948289a2698a4a7063514d0e1ef9.tar.bz2
mpv-0d255f07bf46948289a2698a4a7063514d0e1ef9.tar.xz
build: make pthreads mandatory
pthreads should be available anywhere. Even if not, for environment without threads a pthread wrapper could be provided that can't actually start threads, thus disabling features that require threads. Make pthreads mandatory in order to simplify build dependencies and to reduce ifdeffery. (Admittedly, there wasn't much complexity, but maybe we will use pthreads more in the future, and then it'd become a real bother.)
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 55c2f6bfef..b7e03b92cc 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -226,7 +226,7 @@ def build(ctx):
( "stream/ai_oss.c", "oss-audio" ),
( "stream/ai_sndio.c", "sndio" ),
( "stream/audio_in.c", "audio-input" ),
- ( "stream/cache.c", "stream-cache"),
+ ( "stream/cache.c" ),
( "stream/cdinfo.c", "cdda"),
( "stream/cookies.c" ),
( "stream/dvb_tune.c", "dvbin" ),