[vlc-commits] Contribs: fix directx rule

Jean-Baptiste Kempf git at videolan.org
Tue Feb 3 18:47:33 CET 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb  3 18:40:42 2015 +0100| [9487e24c8d2ea1c6c584a34c8a1f5e5ccd30cad7] | committer: Jean-Baptiste Kempf

Contribs: fix directx rule

(cherry picked from commit 6eabd348cd6046ad0bbcbd7565ec1e246751c1ad)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=9487e24c8d2ea1c6c584a34c8a1f5e5ccd30cad7
---

 contrib/src/directx/rules.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/directx/rules.mak b/contrib/src/directx/rules.mak
index 16bc3e3..6bfba74 100644
--- a/contrib/src/directx/rules.mak
+++ b/contrib/src/directx/rules.mak
@@ -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 $@



More information about the vlc-commits mailing list