[Mesa-dev] [PATCH 1/2] meson: Don't link gbm with threads

Dylan Baker dylan at pnwbakers.com
Mon Oct 30 18:32:33 UTC 2017


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>
---
 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 1bb3c94c387..fc1816cc17a 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
-- 
2.14.3



More information about the mesa-dev mailing list