summaryrefslogtreecommitdiff
path: root/libpthread/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/Makefile.am')
-rw-r--r--libpthread/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/Makefile.am b/libpthread/Makefile.am
index 0dae132..3c7e63d 100644
--- a/libpthread/Makefile.am
+++ b/libpthread/Makefile.am
@@ -46,7 +46,10 @@ AM_CFLAGS = $(USER_CFLAGS)
# Sources.
SYSDEPS := lockfile.c
+if ! ENABLE_TESTS
noinst_LIBRARIES = libpthread.a
+endif
+
libpthread_a_SOURCES = pt-attr.c pt-attr-destroy.c pt-attr-getdetachstate.c \
pt-attr-getguardsize.c pt-attr-getinheritsched.c \
pt-attr-getschedparam.c pt-attr-getschedpolicy.c pt-attr-getscope.c \