tests: use -lpthread instead of -pthread

On some obscure systems, -lpthread is more likely to work than -pthread.

* tests/Makefile.am (filter_unavailable_LDFLAGS): Rename to
filter_unavailable_LDADD and change to -lpthread.
This commit is contained in:
Дмитрий Левин 2015-07-21 10:17:33 +00:00
parent ce93bbdef1
commit 95eaf19644

View File

@ -48,7 +48,7 @@ check_PROGRAMS = \
utime \
xattr
filter_unavailable_LDFLAGS = -pthread
filter_unavailable_LDADD = -lpthread
mmap64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
pc_LDADD = $(dl_LIBS)
stat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64