diff options
author | ru <ru@FreeBSD.org> | 2006-04-12 19:42:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-04-12 19:42:20 +0000 |
commit | 450f3991357d5a677f7c5c4847d5e018c6d57c4a (patch) | |
tree | 4c9e16b0ad3a476e2845823443d80462f6e6ac2d | |
parent | b9f45ae81a94964782cf45430220c250a656ab71 (diff) | |
download | FreeBSD-src-450f3991357d5a677f7c5c4847d5e018c6d57c4a.zip FreeBSD-src-450f3991357d5a677f7c5c4847d5e018c6d57c4a.tar.gz |
Install shared libpthread library into /lib; needed by some
/sbin programs.
-rw-r--r-- | lib/libkse/Makefile | 1 | ||||
-rw-r--r-- | lib/libpthread/Makefile | 1 | ||||
-rw-r--r-- | lib/libthr/Makefile | 6 |
3 files changed, 7 insertions, 1 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index b2a0915..17b46b9 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -11,6 +11,7 @@ LIB=kse .else LIB=pthread +SHLIBDIR?= /lib .endif SHLIB_MAJOR= 2 CFLAGS+=-DPTHREAD_KERNEL diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index b2a0915..17b46b9 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -11,6 +11,7 @@ LIB=kse .else LIB=pthread +SHLIBDIR?= /lib .endif SHLIB_MAJOR= 2 CFLAGS+=-DPTHREAD_KERNEL diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index 26bff3d..37073ea 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -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 |