[glib/glib-2-48] glib tests: add pthread flag to 'thread' test
- From: Allison Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-48] glib tests: add pthread flag to 'thread' test
- Date: Tue, 10 May 2016 09:33:37 +0000 (UTC)
commit b6bf8375903e942e1e618cd5edff1a577a45b343
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date: Thu Apr 28 11:01:41 2016 +0200
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
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 ff3cba7..cdf23a9 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]