From b2591c37267b6623b62f12684f549ece6ae34d2b Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Fri, 16 Aug 2013 00:32:28 +0200 Subject: x264: use win32 threads posix threads on windows are causing strange locks and hangs --- recipes/x264.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/x264.recipe b/recipes/x264.recipe index 79e2f5f..85d4f18 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: -- cgit v1.2.3