Module: Mesa
Branch: staging/18.3
Commit: 5adc1920ee391b0d231fbd593b6a8cb0dd281bd5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5adc1920ee391b0d231fbd593b6a8cb0dd281bd5

Author: Dylan Baker <[email protected]>
Date:   Thu Nov  1 14:12:57 2018 -0700

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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>

(cherry picked from commit 7652931d33b36c93b2e84713baa8c283d568402e)

---

 src/gallium/targets/d3dadapter9/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/targets/d3dadapter9/meson.build 
b/src/gallium/targets/d3dadapter9/meson.build
index bd05b4f969..bc72b1110a 100644
--- a/src/gallium/targets/d3dadapter9/meson.build
+++ b/src/gallium/targets/d3dadapter9/meson.build
@@ -53,7 +53,7 @@ libgallium_nine = shared_library(
     libswkmsdri,
   ],
   dependencies : [
-    dep_selinux, dep_expat, dep_libdrm, dep_llvm,
+    dep_selinux, dep_expat, dep_libdrm, dep_llvm, dep_thread,
     driver_swrast, driver_r300, driver_r600, driver_radeonsi, driver_nouveau,
     driver_i915, driver_svga,
   ],

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to