summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ffmpeg/module.defs7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index 85fdd3224..c44c088d9 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -1,7 +1,4 @@
__deps__ := YASM BZIP2 ZLIB FDKAAC LIBVPX LAME LIBOPUS
-ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
-__deps__ += PTHREADW32
-endif
ifeq (1,$(FEATURE.qsv))
__deps__ += LIBMFX
endif
@@ -64,7 +61,6 @@ FFMPEG.CONFIGURE.extra = \
--disable-decoder=wmv3_crystalhd \
--enable-zlib \
--enable-bzlib \
- --enable-pthreads \
--cc="$(FFMPEG.GCC.gcc)" \
--extra-ldflags="$(call fn.ARGS,FFMPEG.GCC,*archs *sysroot *minver ?extra) -L$(call fn.ABSOLUTE,$(CONTRIB.build/)lib)"
@@ -101,6 +97,9 @@ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
else
FFMPEG.CONFIGURE.extra += --pkg-config=$(PKGCONFIG.exe)
endif
+else
+ # only enable pthreads for non-win32
+ FFMPEG.CONFIGURE.extra += --enable-pthreads
endif
ifneq (none,$(FFMPEG.GCC.g))