Compile private test with -pthread on UNIX

We are using explicit pthread calls here, so we should
use the right linker flags for that.

https://bugzilla.gnome.org/show_bug.cgi?id=661318
This commit is contained in:
Matthias Clasen 2011-10-10 11:10:20 -04:00
parent 93e49aea1b
commit 2c1cbde21e

View File

@ -206,9 +206,6 @@ once_LDADD = $(progs_ldadd)
TEST_PROGS += cond
cond_LDADD = $(progs_ldadd)
TEST_PROGS += private
private_LDADD = $(progs_ldadd)
TEST_PROGS += thread
thread_LDADD = $(progs_ldadd)
@ -218,8 +215,13 @@ slice_LDADD = $(progs_ldadd)
TEST_PROGS += hook
hook_LDADD = $(progs_ldadd)
TEST_PROGS += private
private_LDADD = $(progs_ldadd)
if OS_UNIX
private_LDFLAGS = -pthread
TEST_PROGS += unix
unix_LDADD = $(progs_ldadd)