Mesa (staging/19.1): meson: Add dep_thread dependency.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 18 08:39:57 UTC 2019
Module: Mesa
Branch: staging/19.1
Commit: 6df891afa6d0643d72667bf7f84bbe246214a712
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6df891afa6d0643d72667bf7f84bbe246214a712
Author: Vinson Lee <vlee at freedesktop.org>
Date: Thu Jun 13 15:08:27 2019 -0700
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 at freedesktop.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Eric Engestrom <eric at engestrom.ch>
(cherry picked from commit 730ceeddb557cec08a502e82b7faeb689bc91d2a)
---
src/gallium/tests/trivial/meson.build | 1 +
1 file changed, 1 insertion(+)
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 at .c'.format(t),
include_directories : inc_common,
link_with : [libmesa_util, libgallium, libpipe_loader_dynamic],
+ dependencies : dep_thread,
install : false,
)
endforeach
More information about the mesa-commit
mailing list