summaryrefslogtreecommitdiffstats
path: root/lib/libthr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r--lib/libthr/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 3a172bb..8fb18df 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -44,7 +44,9 @@ PRECIOUSLIB=
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/thread/Makefile.inc"
+.if ${MK_INSTALLLIB} != "no"
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
+.endif
.if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
.endif
OpenPOWER on IntegriCloud