Commit b0935f27 authored by Varphone Wong's avatar Varphone Wong Committed by Jean-Baptiste Kempf

contrib: check is dxva2api.h already exists before install

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 64aa5fae9243b27c5c29121c90a6f7739f017e49)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5d555372
...@@ -20,5 +20,5 @@ $(TARBALLS)/dxva2api.h: ...@@ -20,5 +20,5 @@ $(TARBALLS)/dxva2api.h:
.directx: directx-oss.tar.bz2 dxva2api.h .sum-directx .directx: directx-oss.tar.bz2 dxva2api.h .sum-directx
mkdir -p -- "$(PREFIX)/include" mkdir -p -- "$(PREFIX)/include"
tar xvjf $< -C "$(PREFIX)/include" tar xvjf $< -C "$(PREFIX)/include"
cp $(TARBALLS)/dxva2api.h "$(PREFIX)/include/" $(CC) -E -include dxva2api.h - < /dev/null >& /dev/null || cp $(TARBALLS)/dxva2api.h "$(PREFIX)/include/"
touch $@ touch $@
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