meson: fix va target linkage
authorDylan Baker <dylan@pnwbakers.com>
Wed, 17 Jan 2018 17:49:55 +0000 (09:49 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 15 Feb 2018 18:36:16 +0000 (10:36 -0800)
commit2e4be28fb2a256c423485cc99b1250b2d3c92da6
treeffc0fe8a112e5da708fa844c9790d534985ebe86
parent90d361753ce5a5e705adecbc68edaf7a6d0f51ee
meson: fix va target linkage

The state tracker needs to be linked with whole-archive (like
autotools). As a result there are symbols from libswdri and libswkmsdri
that are needed, so link those as well.

v4: - Always add libswdri and libswkmsdri to link_with list

Fixes: 5a785d51a6d6 ("meson: build gallium va 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/va/meson.build