aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-08-28 03:02:17 +0000
committerCy Schubert <cy@FreeBSD.org>2023-08-28 13:31:02 +0000
commitf006023b2281e179374b56db196d03911fad3680 (patch)
treee6f6910368688194a0088a29449ade1d63ee8e0a /lib
parentd4b3aefdf94fe401f6bfc93a33b69e21dd7a634a (diff)
librt: Chase 315ee00fa961, fixing boot
libzfs uses librt as a dependency. Following 315ee00fa961 systems with a separate / and /usr will fail to load the libzfs.so library because librt.so is not available due to the fact that /usr is not mounted yet. Install librt in /lib making it available to libzfs. Reported by: emaste, imp Fixes: 315ee00fa961 Differential Revision: https://reviews.freebsd.org/D41612
Diffstat (limited to 'lib')
-rw-r--r--lib/librt/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librt/Makefile b/lib/librt/Makefile
index 9a54c3ea2812..8b880c41ec44 100644
--- a/lib/librt/Makefile
+++ b/lib/librt/Makefile
@@ -3,6 +3,7 @@
PACKAGE=clibs
LIB=rt
+SHLIBDIR=/lib
SHLIB_MAJOR= 1
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
.ifndef NO_THREAD_STACK_UNWIND