meson: Fix linkage of libgallium_nine with libgalliumvl
authorYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Thu, 7 Nov 2019 15:22:26 +0000 (17:22 +0200)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 20 Nov 2019 19:16:20 +0000 (19:16 +0000)
commit9af22ccddcd1a983df5e0c6732a4e8f5ebf4d9cf
tree3457aab3ddd929deb4f3e4d091316a85cdf45c89
parentbcfc9c0fecc4be36edc8ffc8b42740a71a105793
meson: Fix linkage of libgallium_nine with libgalliumvl

Do not link libgallium_nine with libgalliumvl_stub if it's already
linked with libgalliumvl. Linking with stub leads to "duplicate
symbol" errors.

Fixes: 6b4c7047d57178d3362a710ad503057c6a582ca3
       ("meson: build gallium nine state_tracker")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2040
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/targets/d3dadapter9/meson.build