Commit 764c24da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib: prefix widl tool

parent 7783a4dc
......@@ -20,10 +20,10 @@ $(TARBALLS)/dxgidebug.idl:
(cd $(TARBALLS) && patch -fp1) < $(SRC)/d3d11/dxgidebug.patch
$(DST_D3D11_H): $(TARBALLS)/d3d11.idl
widl -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
$(WIDL) -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
$(DST_DXGIDEBUG_H): $(TARBALLS)/dxgidebug.idl
widl -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
$(WIDL) -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
.d3d11: $(DST_D3D11_H) $(DST_DXGIDEBUG_H)
touch $@
......@@ -69,6 +69,9 @@ endif
ifneq ($(findstring $(origin STRIP),undefined default),)
STRIP := strip
endif
ifneq ($(findstring $(origin WIDL),undefined default),)
WIDL := widl
endif
else
ifneq ($(findstring $(origin CC),undefined default),)
CC := $(HOST)-gcc
......@@ -88,6 +91,9 @@ endif
ifneq ($(findstring $(origin STRIP),undefined default),)
STRIP := $(HOST)-strip
endif
ifneq ($(findstring $(origin WIDL),undefined default),)
WIDL := $(HOST)-widl
endif
endif
ifdef HAVE_ANDROID
......
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