On alpha and sparc64, install shared libc_r into /lib because

it's aliased to libpthread and some /sbin tools need it.
This is pseudo-MFC because in HEAD libthr is aliased to
libpthread on sparc64 (and was on alpha).

Approved by:	re (kensmith)
This commit is contained in:
ru 2006-09-29 19:31:21 +00:00
parent 5cc4c31dfd
commit 99924231c3

View File

@ -26,9 +26,10 @@ PRECIOUSLIB=
.include "${.CURDIR}/sys/Makefile.inc"
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
SHLIBDIR?= /lib
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
.if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
.endif
.if !defined(NO_PROFILE)
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a