summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorbrad <brad@NetBSD.org>2019-09-22 18:45:19 +0000
committerbrad <brad@NetBSD.org>2019-09-22 18:45:19 +0000
commit02b1e8cab689c01c2ddafa7678d0ecd3b001088e (patch)
treef8b1af2bf09fbc27ace179f3714cb51e3629f987 /lib/libpthread
parent12b8293b4252020ebeacaddff2e263defda3c179 (diff)
Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}. The general effect is to move them from /usr/lib to /lib. Compatibility links are installed in /usr/lib and nothing that is installed, say in /usr/pkg, appears to break. With this, it is possible to have a /var and /usr mount using ZFS legacy mounting early on in the boot process. Run tested on amd64 and i386 and compile tested on evbarm.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 81b28cf1e53..54d64cf9612 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2019/05/07 18:45:37 maya Exp $
+# $NetBSD: Makefile,v 1.95 2019/09/22 18:45:20 brad Exp $
#
NOSANITIZER= # defined
@@ -7,6 +7,8 @@ LIB= pthread
.include <bsd.own.mk>
+USE_SHLIBDIR= yes
+
.if defined(PTHREAD_MACHINE_ARCH) && !empty(PTHREAD_MACHINE_ARCH) && \
exists(${.CURDIR}/arch/${PTHREAD_MACHINE_ARCH})
ARCHSUBDIR= ${PTHREAD_MACHINE_ARCH}