Install shared libpthread library into /lib; needed by some

/sbin programs.
This commit is contained in:
ru 2006-04-12 19:42:20 +00:00
parent b9f45ae81a
commit 450f399135
3 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,7 @@
LIB=kse
.else
LIB=pthread
SHLIBDIR?= /lib
.endif
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL

View File

@ -11,6 +11,7 @@
LIB=kse
.else
LIB=pthread
SHLIBDIR?= /lib
.endif
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL

View File

@ -8,6 +8,10 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
SHLIBDIR?= /lib
.endif
.include <bsd.own.mk>
LIB=thr
@ -41,7 +45,7 @@ PRECIOUSLIB=
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
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 ${MK_PROFILE} != "no"
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a