meson: Fix omx-bellagio 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:26 +0000 (10:36 -0800)
commit91a59b628745a1f77b446c85ab6163a50ebe2e55
treef3faa8001be310f262c3270669faa058f875792f
parent2e4be28fb2a256c423485cc99b1250b2d3c92da6
meson: Fix omx-bellagio 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

Fixes: 1d36dc674d528b93b ("meson: build gallium omx 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/omx-bellagio/meson.build