mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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>
(cherry picked from commit 730ceeddb5)
This commit is contained in:
parent
17dc693590
commit
6df891afa6
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue