[glib] 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 tests: add pthread flag to 'thread' test
- Date: Thu, 28 Apr 2016 09:23:19 +0000 (UTC)
commit 96c962de228235c583204a513aebe0bd0adb1e5a
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]