Compile private test with -pthread on UNIX
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 3 Feb 2013 18:52:58 +0000 (19:52 +0100)
committerRyan Lortie <desrt@desrt.ca>
Sun, 3 Feb 2013 22:59:21 +0000 (23:59 +0100)
The commit f5f151cb removed this linkage, which is needed,
at least for the toolchain gcc version 4.7.2 (Debian 4.7.2-5)

https://bugzilla.gnome.org/show_bug.cgi?id=693105

glib/tests/Makefile.am

index cbf90cd..3ffbab1 100644 (file)
@@ -120,6 +120,8 @@ gtester-xmllint-check: # check testreport xml with xmllint if present
 
 check-am: gtester-xmllint-check
 
+private_LDFLAGS = -pthread
+
 endif
 
 CLEANFILES = \