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
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-04-28 11:01:41 +02:00 committed by Allison Ryan Lortie
parent 41df41550f
commit 96c962de22

View File

@ -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