]> granicus.if.org Git - strace/commitdiff
tests: use -lpthread instead of -pthread
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 21 Jul 2015 10:17:33 +0000 (10:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 21 Jul 2015 19:09:35 +0000 (19:09 +0000)
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.

tests/Makefile.am

index cdeea06254f668011cf42a56a9c271d8f5ecdc56..3295f9cfc87aa3f688df3d5fe992c0709d5f8256 100644 (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