OSDN Git Service

meson: Don't link gbm with threads
authorDylan Baker <dylan@pnwbakers.com>
Mon, 30 Oct 2017 18:30:34 +0000 (11:30 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 31 Oct 2017 17:41:19 +0000 (10:41 -0700)
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@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gbm/meson.build

index 1bb3c94..fc1816c 100644 (file)
@@ -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