Mesa (master): meson: Don't link gbm with threads

Dylan Baker dbaker at kemper.freedesktop.org
Tue Oct 31 17:42:13 UTC 2017


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Oct 30 11:30:34 2017 -0700

meson: Don't link gbm with threads

It's supposed to be linked with pthread-stubs (if the platform needs
pthread-stubs). Pthread stubs support isn't (yet) implemented in the
meson build, so add a TODO.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

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

diff --git a/src/gbm/meson.build b/src/gbm/meson.build
index 1bb3c94c38..fc1816cc17 100644
--- a/src/gbm/meson.build
+++ b/src/gbm/meson.build
@@ -34,7 +34,7 @@ deps_gbm = []
 
 if with_dri2
   files_gbm += files('backends/dri/gbm_dri.c', 'backends/dri/gbm_driint.h')
-  deps_gbm += [dep_libdrm, dep_thread]
+  deps_gbm += dep_libdrm # TODO: pthread-stubs
   args_gbm += '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_driver_dir)
 endif
 if with_platform_wayland




More information about the mesa-commit mailing list