summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/Makefile')
-rw-r--r--lib/libc_r/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile
index c79b4d6..0b286f2 100644
--- a/lib/libc_r/Makefile
+++ b/lib/libc_r/Makefile
@@ -33,7 +33,9 @@ PRECIOUSLIB=
.include "${.CURDIR}/sys/Makefile.inc"
.if ${DEFAULT_THREAD_LIB} == "libc_r"
+.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