Commit 589a19ec authored by Rafaël Carré's avatar Rafaël Carré

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

(cherry picked from commit bdb36c1b184cd62ccc633b493d5c8fe9e21770ed)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 1543b6a1
...@@ -4,8 +4,10 @@ DX_HEADERS_URL := $(CONTRIB_VIDEOLAN)/directx-oss.tar.bz2 ...@@ -4,8 +4,10 @@ DX_HEADERS_URL := $(CONTRIB_VIDEOLAN)/directx-oss.tar.bz2
DXVA2_URL := $(CONTRIB_VIDEOLAN)/dxva2api.h DXVA2_URL := $(CONTRIB_VIDEOLAN)/dxva2api.h
ifdef HAVE_WIN32 ifdef HAVE_WIN32
ifndef HAVE_MINGW_W64
PKGS += directx PKGS += directx
endif endif
endif
$(TARBALLS)/directx-oss.tar.bz2: $(TARBALLS)/directx-oss.tar.bz2:
$(call download,$(DX_HEADERS_URL)) $(call download,$(DX_HEADERS_URL))
......
...@@ -6,8 +6,10 @@ D2D_URL := http://nodeload.github.com/2of1/d2d1headers/tarball/master ...@@ -6,8 +6,10 @@ D2D_URL := http://nodeload.github.com/2of1/d2d1headers/tarball/master
# FIXME: ^ D2D not working # FIXME: ^ D2D not working
ifdef HAVE_WIN32 ifdef HAVE_WIN32
ifndef HAVE_MINGW_W64
PKGS += dshow PKGS += dshow
endif endif
endif
$(TARBALLS)/dshow-headers-oss.tar.bz2: $(TARBALLS)/dshow-headers-oss.tar.bz2:
$(call download,$(DSHOW_HEADERS_URL)) $(call download,$(DSHOW_HEADERS_URL))
......
...@@ -77,7 +77,9 @@ endif ...@@ -77,7 +77,9 @@ endif
# Windows # Windows
ifdef HAVE_WIN32 ifdef HAVE_WIN32
ifndef HAVE_MINGW_W64
DEPS_ffmpeg += directx DEPS_ffmpeg += directx
endif
FFMPEGCONF += --target-os=mingw32 --enable-memalign-hack FFMPEGCONF += --target-os=mingw32 --enable-memalign-hack
FFMPEGCONF += --enable-w32threads \ FFMPEGCONF += --enable-w32threads \
--disable-bzlib --disable-bsfs \ --disable-bzlib --disable-bsfs \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment