diff options
author | wm4 <wm4@nowhere> | 2013-07-29 00:58:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-29 00:59:07 +0200 |
commit | fece4e3053b7be7b5d736a9609bb2b1b8deef4bd (patch) | |
tree | bfb9c0c5acde42683bb0ef13c6f5f051e046e752 /video/vdpau.h | |
parent | 050997addff73aef98e2d469d57e62f58192e506 (diff) | |
download | mpv-fece4e3053b7be7b5d736a9609bb2b1b8deef4bd.tar.bz2 mpv-fece4e3053b7be7b5d736a9609bb2b1b8deef4bd.tar.xz |
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.h | 2 |
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 }; |