mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-04 16:36:17 +01:00
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:
parent
93e49aea1b
commit
2c1cbde21e
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user