meson: Add dep_thread dependency.

Fix this build error on Ubuntu 18.04.

/usr/bin/ld: src/util/libmesa_util.a(u_cpu_detect.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5'

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110663
Suggested-by: Eric Engestrom <eric@@engestrom.ch>
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
Vinson Lee 2019-06-13 15:08:27 -07:00
parent 11aa32a447
commit 730ceeddb5
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ foreach t : ['compute', 'tri', 'quad-tex']
'@0@.c'.format(t),
include_directories : inc_common,
link_with : [libmesa_util, libgallium, libpipe_loader_dynamic],
dependencies : dep_thread,
install : false,
)
endforeach