Commit 2c1cbde2 authored by Matthias Clasen's avatar Matthias Clasen

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
parent 93e49aea
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment