mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +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>
This commit is contained in:
parent
11aa32a447
commit
730ceeddb5
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ foreach t : ['compute', 'tri', 'quad-tex']
|
||||||
'@0@.c'.format(t),
|
'@0@.c'.format(t),
|
||||||
include_directories : inc_common,
|
include_directories : inc_common,
|
||||||
link_with : [libmesa_util, libgallium, libpipe_loader_dynamic],
|
link_with : [libmesa_util, libgallium, libpipe_loader_dynamic],
|
||||||
|
dependencies : dep_thread,
|
||||||
install : false,
|
install : false,
|
||||||
)
|
)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue