aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2025-08-08 09:30:16 +0000
committerBrooks Davis <brooks@FreeBSD.org>2025-08-08 09:30:16 +0000
commitfd4cdc438b7740007b06ea97431cc724e9aae185 (patch)
treecb98f4c75208a1bd0e41ea72a5baf8384c0c418a /libexec/rtld-elf/Makefile
parent4c6c27d3fb4ad15931aae2eaf8e624aed99a3fd9 (diff)
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index 0dbd2b8aa935..b6ff7681e658 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -128,3 +128,7 @@ ${PROG_FULL}: ${VERSION_MAP}
# and are therefore not identical to the ones from the system headers.
CFLAGS+= -Wno-redundant-decls
.endif
+
+# Add dependencies on libc and libsys archives after bsd.prog.mk
+# includes bsd.libnames.mk so they are defined.
+rtld_libc.a: ${LIBC_NOSSP_PIC} ${LIBSYS_PIC}