Mesa (master): meson: Always link libgallium_dri.so against dep_thread.

Eric Anholt anholt at kemper.freedesktop.org
Thu Nov 9 17:52:08 UTC 2017


Module: Mesa
Branch: master
Commit: 9c9fd8ff3792897a5fe3c3998274e59fa95d4d76
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c9fd8ff3792897a5fe3c3998274e59fa95d4d76

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov  8 14:00:51 2017 -0800

meson: Always link libgallium_dri.so against dep_thread.

Somehow on my cross build the -pthread is getting lost.  All the other
deps seem to work out fine.

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Tested-by: Timothy Arceri <tarceri at itsqueeze.com>

---

 src/gallium/targets/dri/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 0ce088e1ac..c591b75d03 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -134,6 +134,7 @@ libgallium_dri = shared_library(
   ],
   dependencies : [
     gallium_dri_depends, dep_selinux, dep_expat, dep_libdrm, dep_llvm,
+    dep_thread,
   ],
 )
 




More information about the mesa-commit mailing list