meson: link gallium nine with pthreads
authorDylan Baker <dylan@pnwbakers.com>
Thu, 1 Nov 2018 21:12:57 +0000 (14:12 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 2 Nov 2018 20:10:33 +0000 (13:10 -0700)
commit7652931d33b36c93b2e84713baa8c283d568402e
treea176b416a6952fcd0b180de08cfeab5622459d23
parent1c140470effe844889d4d099f6b40fedfe503b06
meson: link gallium nine with pthreads

In some cases (not building with llvm, which automatically pulls in
pthreads) nine needs to be directly linked with pthreads. Fixes building
on x86 (32 bit) without llvm.

Distro bug: https://bugs.gentoo.org/670094
Fixes: 6b4c7047d57178d3362a710ad503057c6a582ca3
       ("meson: build gallium nine state_tracker")
Tested-by: Rafal Lalik <rafallalik@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/targets/d3dadapter9/meson.build