summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-09-27 23:27:19 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-09-27 23:27:19 +0000
commited74e02776bcb5becc0f8149b98ca827edd0bb12 (patch)
treefac7df1d88314a174a75b5cd3603b110d7a570dd /lib/libpthread
parentc31f2280edb9660afe910af01688cf7a000d8a12 (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 3d7c8907bdad..38711b260991 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -38,4 +38,16 @@ PRECIOUSLIB= yes
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/thread/Makefile.inc"
+.if !defined(NOLIBC_R)
+.if ${MACHINE_ARCH} == "ia64"
+SYMLINKS+=lib${LIB}.a ${LIBDIR}/libc_r.a
+.if !defined(NOPIC)
+SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libc_r.so
+.endif
+.if !defined(NOPROFILE)
+SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libc_r_p.a
+.endif
+.endif
+.endif
+
.include <bsd.lib.mk>