summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-01 15:10:42 +0100
committerwm4 <wm4@nowhere>2015-01-01 15:10:42 +0100
commitbafb9b22715313ef0049630228a744d7f2c9363b (patch)
treea1bd25023be5840467291dbe9876dd7c30bc2034 /wscript_build.py
parent64b6b2ea458f679ec0370878b1e54b2b1822c4b1 (diff)
downloadmpv-bafb9b22715313ef0049630228a744d7f2c9363b.tar.bz2
mpv-bafb9b22715313ef0049630228a744d7f2c9363b.tar.xz
win32: add native wrappers for pthread functions
Off by default, use --enable-win32-internal-pthreads . This probably still needs a lot more testing. It also won't work on Windows XP.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index b615f3c515..1791dacbae 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -392,6 +392,7 @@ def build(ctx):
( "osdep/w32_keyboard.c", "os-win32" ),
( "osdep/w32_keyboard.c", "os-cygwin" ),
( "osdep/mpv.rc", "win32-executable" ),
+ ( "osdep/win32/pthread.c", "win32-internal-pthreads"),
## tree_allocator
"ta/ta.c", "ta/ta_talloc.c", "ta/ta_utils.c"