meson: Fix xa target linkage
authorDylan Baker <dylan@pnwbakers.com>
Wed, 17 Jan 2018 18:12:19 +0000 (10:12 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 15 Feb 2018 18:36:31 +0000 (10:36 -0800)
commit0b73c329bc024d94d85d4e0bf5e95cd8be635eb2
tree33888b54887a1566b4dee072b8c81010301cf9b7
parent91a59b628745a1f77b446c85ab6163a50ebe2e55
meson: Fix xa target linkage

This needs to use --whole-archive (link_whole in meson) to properly
expose symbols.

v4: - Always add libswdri and libswkmsdri to link_with list

Fixes: 0ba909f0f111824 ("meson: build gallium xa 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/xa/meson.build