aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/vdpau.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2013-07-29 00:58:44 +0200
committerGravatar wm4 <wm4@nowhere>2013-07-29 00:59:07 +0200
commitfece4e3053b7be7b5d736a9609bb2b1b8deef4bd (patch)
treebfb9c0c5acde42683bb0ef13c6f5f051e046e752 /video/vdpau.h
parent050997addff73aef98e2d469d57e62f58192e506 (diff)
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).
Diffstat (limited to 'video/vdpau.h')
-rw-r--r--video/vdpau.h2
1 files changed, 1 insertions, 1 deletions
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
};