X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fconfigure.ac;h=1cf621b49cbcb95a0b8f4cc8dbf6ccc5c60f1c31;hb=faaea1ce7a18979feba27c6e2127161995935a13;hp=cfde734550d5e041ad496176fa413b7e44e0435a;hpb=4c167745fe507659ed678ff6f4d51a44a7cf8b3a;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index cfde7345..1cf621b4 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -1063,12 +1063,12 @@ fi FFMPEG_EXTRA_LDFLAGS="" if test "x$WANT_VAAPI" != "xno" -a "x$HAVE_VAAPI" = "xyes"; then - FFMPEG_EXTRA_LDFLAGS+=' -lva' - EXTRA_LIBS+=' -lva' + FFMPEG_EXTRA_LDFLAGS+=' -lva `pkg-config --libs libva`' + EXTRA_LIBS+=' -lva ' WANT_VAAPI="yes" if test "x$HAVE_vaapi_x11" = "xyes"; then FFMPEG_EXTRA_LDFLAGS+=' -lva-x11' - EXTRA_LIBS+=' -lva-x11' + EXTRA_LIBS+=' -lva-x11 `pkg-config --libs x11`' fi if test "x$HAVE_vaapi_drm" = "xyes"; then FFMPEG_EXTRA_LDFLAGS+=' -lva-drm'