Commit 9487e24c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix directx rule

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