summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2016-07-07 21:12:00 +0200
committerTim Walker <[email protected]>2016-07-07 21:12:00 +0200
commitec64836b2be6765f13664b0198b628b6ed450b7e (patch)
treeab6d23579f949e2db7fe1677d688e5ff4529bce1 /contrib/ffmpeg
parent1a7534331f90fbe2fd4d37337e112b32847be43c (diff)
contrib: fix PTHREADW32 dependency condition for libav.
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r--contrib/ffmpeg/module.defs5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index a75b49d4f..dfd6ec9b1 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -1,6 +1,9 @@
__deps__ := YASM BZIP2 ZLIB FDKAAC LIBVPX LAME
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+__deps__ += PTHREADW32
+endif
ifeq (1,$(FEATURE.qsv))
-__deps__ += PTHREADW32 LIBMFX
+__deps__ += LIBMFX
endif
$(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,$(__deps__)))