[vlc-commits] contrib: d3d9: rename IDL includes variable

Thomas Guillem git at videolan.org
Mon Jan 14 11:35:07 CET 2019


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan  4 14:17:58 2019 +0100| [3ecf883529ed4eec82a60f6550e73221d9a3aefc] | committer: Hugo Beauzée-Luyssen

contrib: d3d9: rename IDL includes variable

(cherry picked from commit 234c3186922e51ef6fb5eea9be88f5358d44a932)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 contrib/src/d3d9/rules.mak | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/src/d3d9/rules.mak b/contrib/src/d3d9/rules.mak
index 29ce9a33c1..65d762ce29 100644
--- a/contrib/src/d3d9/rules.mak
+++ b/contrib/src/d3d9/rules.mak
@@ -1,10 +1,10 @@
 # generate Direct3D9 temporary include
 
 ifdef HAVE_CROSS_COMPILE
-IDL_INC_PATH = /usr/include/wine/windows/
+IDL_INC_PATH = -I/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
+IDL_INC_PATH = -I/`echo $(MSYSTEM) | tr A-Z a-z`/$(BUILD)/include
 endif
 
 D3D9CAPS_COMMIT_ID := 477108e5706e73421634436c21cb76e1795b3609
@@ -49,7 +49,7 @@ dxva2api/dxva2api.idl: .sum-d3d9
 
 $(DST_DXVA2API_H): dxva2api/dxva2api.idl
 	mkdir -p -- "$(PREFIX)/include/"
-	$(WIDL) -DBOOL=WINBOOL -D_D3D9_H_ -D__C89_NAMELESS -I$(IDL_INC_PATH) -h -o $@ $<
+	$(WIDL) -DBOOL=WINBOOL -D_D3D9_H_ -D__C89_NAMELESS $(IDL_INCLUDES) -h -o $@ $<
 
 .d3d9caps: $(DST_D3D9CAPS_H)
 	touch $@



More information about the vlc-commits mailing list