[vlc-commits] contrib: don't depend on headers available in mingw-w64

Rafaël Carré git at videolan.org
Sat Feb 4 01:04:43 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Feb  2 18:27:04 2012 -0500| [bdb36c1b184cd62ccc633b493d5c8fe9e21770ed] | committer: Rafaël Carré

contrib: don't depend on headers available in mingw-w64

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bdb36c1b184cd62ccc633b493d5c8fe9e21770ed
---

 contrib/src/directx/rules.mak |    2 ++
 contrib/src/dshow/rules.mak   |    2 ++
 contrib/src/ffmpeg/rules.mak  |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/contrib/src/directx/rules.mak b/contrib/src/directx/rules.mak
index ed061f8..9092616 100644
--- a/contrib/src/directx/rules.mak
+++ b/contrib/src/directx/rules.mak
@@ -4,8 +4,10 @@ DX_HEADERS_URL := $(CONTRIB_VIDEOLAN)/directx-oss.tar.bz2
 DXVA2_URL := $(CONTRIB_VIDEOLAN)/dxva2api.h
 
 ifdef HAVE_WIN32
+ifndef HAVE_MINGW_W64
 PKGS += directx
 endif
+endif
 
 $(TARBALLS)/directx-oss.tar.bz2:
 	$(call download,$(DX_HEADERS_URL))
diff --git a/contrib/src/dshow/rules.mak b/contrib/src/dshow/rules.mak
index 8342fba..ef2312f 100644
--- a/contrib/src/dshow/rules.mak
+++ b/contrib/src/dshow/rules.mak
@@ -6,8 +6,10 @@ D2D_URL := http://nodeload.github.com/2of1/d2d1headers/tarball/master
 # FIXME: ^ D2D not working
 
 ifdef HAVE_WIN32
+ifndef HAVE_MINGW_W64
 PKGS += dshow
 endif
+endif
 
 $(TARBALLS)/dshow-headers-oss.tar.bz2:
 	$(call download,$(DSHOW_HEADERS_URL))
diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 4b38fc4..92ad44a 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -69,7 +69,9 @@ endif
 
 # Windows
 ifdef HAVE_WIN32
+ifndef HAVE_MINGW_W64
 DEPS_ffmpeg += directx
+endif
 FFMPEGCONF += --target-os=mingw32 --enable-memalign-hack
 FFMPEGCONF += --enable-w32threads \
 	--disable-bzlib --disable-bsfs \



More information about the vlc-commits mailing list