meson: fix vdpau target linkage
authorDylan Baker <dylan@pnwbakers.com>
Thu, 11 Jan 2018 17:22:24 +0000 (09:22 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 15 Feb 2018 18:36:09 +0000 (10:36 -0800)
commit90d361753ce5a5e705adecbc68edaf7a6d0f51ee
treea51886c891d3808789b48cd50c353bca7eb2f649
parent340305576840c2a432202f1ace9279f490d87e59
meson: fix vdpau target linkage

The VDPAU state tracker needs to be linked with whole-archive (autotools
does this). Because we are linking the whole archive we alos need to
link with libswdri and libswkmsdri if those have been enabled.

v4: - Always add libswdri and libswkmsdri to link_with list

Fixes: 68076b87474e7959 ("meson: build gallium vdpau 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>
src/gallium/targets/vdpau/meson.build