From fece4e3053b7be7b5d736a9609bb2b1b8deef4bd Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 29 Jul 2013 00:58:44 +0200 Subject: build: fix build with vdpau, simplify Instead of generating vdpau_template.c with a Perl script, just include the generated file in git. This is ok because it changes very rarely, and the script is larger than the output it generates. It also simplify the Makefile, and fixes the build. The problem was that transitive dependencies do not work with generated files: there is no dependency information yet when building it the first time. I overlooked this because I didn't delete the .d files for testing (which contained the correct dependencies, but only _after_ a first successful build). --- video/vdpau.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/vdpau.h') diff --git a/video/vdpau.h b/video/vdpau.h index c8a7288b66..bb8fe1cac8 100644 --- a/video/vdpau.h +++ b/video/vdpau.h @@ -27,7 +27,7 @@ struct vdp_functions { #define VDP_FUNCTION(vdp_type, _, mp_name) vdp_type *mp_name; -#include "video/out/vdpau_template.c" +#include "video/vdpau_functions.inc" #undef VDP_FUNCTION }; -- cgit v1.2.3