summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2019-06-13 15:08:27 -0700
committerJuan A. Suarez Romero <jasuarez@igalia.com>2019-07-15 17:31:08 +0000
commit6df891afa6d0643d72667bf7f84bbe246214a712 (patch)
treecfb4d7f4374dc703becfe6a4ed7f67e0a7ff47fd
parent17dc693590ab2d6f436d24de8d3f31e2e41e8643 (diff)
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 730ceeddb557cec08a502e82b7faeb689bc91d2a)
-rw-r--r--src/gallium/tests/trivial/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/trivial/meson.build b/src/gallium/tests/trivial/meson.build
index bbb25519e12..1f912d5aa46 100644
--- a/src/gallium/tests/trivial/meson.build
+++ b/src/gallium/tests/trivial/meson.build
@@ -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