From: Dmitry V. Levin Date: Tue, 21 Jul 2015 10:17:33 +0000 (+0000) Subject: tests: use -lpthread instead of -pthread X-Git-Tag: v4.11~339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95eaf19644a5c7e047001d02e29b950c61d908b7;p=strace 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. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index cdeea062..3295f9cf 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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