meson: Actually link xvmc target with libxvmc
authorDylan Baker <dylan@pnwbakers.com>
Fri, 2 Feb 2018 00:09:02 +0000 (16:09 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 15 Feb 2018 18:36:04 +0000 (10:36 -0800)
Unlike vdpau this is required.

Fixes: 22a817af8a89eb3c7 ("meson: build gallium xvmc state tracker")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
meson.build

index b5fa5a823c914e20c9056fd64ad2ffeafc69b314..3925ec483e50074cc5ecc8aae55e61b13087a8b1 100644 (file)
@@ -452,9 +452,6 @@ with_gallium_xvmc = _xvmc == 'true'
 dep_xvmc = []
 if with_gallium_xvmc
   dep_xvmc = dependency('xvmc', version : '>= 1.0.6')
-  dep_xvmc = declare_dependency(
-    compile_args : run_command(prog_pkgconfig, ['xvmc', '--cflags']).stdout().split()
-  )
 endif
 
 xvmc_drivers_path = get_option('xvmc-libs-path')