meson: fix xvmc target linkage
authorDylan Baker <dylan@pnwbakers.com>
Wed, 17 Jan 2018 18:20:54 +0000 (10:20 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 15 Feb 2018 18:38:43 +0000 (10:38 -0800)
commit2ab1ce30c4543fb4091795cbf6a5526e74c9e4aa
tree4787bce5a76e4521d765d0b755198227855931bf
parent0b73c329bc024d94d85d4e0bf5e95cd8be635eb2
meson: fix xvmc target linkage

This needs to link the state tracker with --whole-archive to expose the
right symbols.

v4: - Always add libswdri and libswkmsdri to the link_with list

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>
src/gallium/targets/xvmc/meson.build