summaryrefslogtreecommitdiff
path: root/recipes/x264.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-08-16 00:32:28 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-08-16 00:35:23 +0200
commitb2591c37267b6623b62f12684f549ece6ae34d2b (patch)
treef644624b9962a9dc643a91a8e9e59ab3e45c4893 /recipes/x264.recipe
parentca909032db6cd9c9d04c5660134bd6f6a5c0b12f (diff)
x264: use win32 threads
posix threads on windows are causing strange locks and hangs
Diffstat (limited to 'recipes/x264.recipe')
-rw-r--r--recipes/x264.recipe2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/x264.recipe b/recipes/x264.recipe
index 79e2f5f3..85d4f18d 100644
--- a/recipes/x264.recipe
+++ b/recipes/x264.recipe
@@ -27,6 +27,8 @@ class Recipe(recipe.Recipe):
if self.config.target_platform == Platform.DARWIN:
if self.config.target_arch == Architecture.X86:
self.new_env = {'AS': 'yasm -O2 -f macho -DPREFIX'}
+ if self.config.target_platform == Platform.WINDOWS:
+ self.configure_options += ' --enable-win32thread'
self.configure_options += ' --host=%s-pc-%s' % (arch, self.config.target_platform)
if self.config.target_platform == Platform.ANDROID:
if self.config.target_arch == Architecture.ARM: