diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2016-04-28 11:01:41 +0200 |
---|---|---|
committer | Allison Ryan Lortie <desrt@desrt.ca> | 2016-05-10 11:05:39 +0200 |
commit | b6bf8375903e942e1e618cd5edff1a577a45b343 (patch) | |
tree | 005bc54fdd2400a9dfe433821a6c8d92261c581a | |
parent | 1d746b6c949b82c98c0a60dd500e6d7acb4317ca (diff) | |
download | glib-b6bf8375903e942e1e618cd5edff1a577a45b343.tar.gz |
glib tests: add pthread flag to 'thread' test
Commit 99bdfd1b introduced a direct call to pthreads_setname_np in the
'thread' test case. Because we are directly calling pthreads functions
from this file now, we need to make sure we link it with the system
thread library flags (as we already do for another file).
https://bugzilla.gnome.org/show_bug.cgi?id=765712
-rw-r--r-- | glib/tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am index ff3cba7e4..cdf23a9d1 100644 --- a/glib/tests/Makefile.am +++ b/glib/tests/Makefile.am @@ -213,6 +213,7 @@ CLEANFILES += tmpsample.xml check-am: gtester-xmllint-check private_LDFLAGS = @G_THREAD_LIBS@ +thread_LDFLAGS = @G_THREAD_LIBS@ endif if HAVE_GCC |