[vlc-commits] Contribs: D3D, use wine headers when Xcompilign
Jean-Baptiste Kempf
git at videolan.org
Wed Jun 17 20:59:27 CEST 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 17 20:59:05 2015 +0200| [bbf89a9fc7a3321894637be7588c34764464399b] | committer: Jean-Baptiste Kempf
Contribs: D3D, use wine headers when Xcompilign
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bbf89a9fc7a3321894637be7588c34764464399b
---
contrib/src/d3d11/rules.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/d3d11/rules.mak b/contrib/src/d3d11/rules.mak
index 92f5ca1..7d6be2d 100644
--- a/contrib/src/d3d11/rules.mak
+++ b/contrib/src/d3d11/rules.mak
@@ -1,7 +1,11 @@
# generate Direct3D11 temporary include
+ifdef HAVE_CROSS_COMPILE
+IDL_INC_PATH = /usr/include/wine/windows/
+else
#ugly way to get the default location of standard idl files
IDL_INC_PATH = /`echo $(MSYSTEM) | tr A-Z a-z`/$(BUILD)/include
+endif
D3D11_IDL_URL :=http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/direct-x/include/d3d11.idl?format=raw
DST_D3D11_H = $(PREFIX)/include/d3d11.h
More information about the vlc-commits
mailing list