Install shared libpthread library into /lib; needed by some
/sbin programs.
This commit is contained in:
parent
b9f45ae81a
commit
450f399135
@ -11,6 +11,7 @@
|
||||
LIB=kse
|
||||
.else
|
||||
LIB=pthread
|
||||
SHLIBDIR?= /lib
|
||||
.endif
|
||||
SHLIB_MAJOR= 2
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
|
@ -11,6 +11,7 @@
|
||||
LIB=kse
|
||||
.else
|
||||
LIB=pthread
|
||||
SHLIBDIR?= /lib
|
||||
.endif
|
||||
SHLIB_MAJOR= 2
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user