aboutsummaryrefslogtreecommitdiff
path: root/libexec/Makefile
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2023-07-27 04:10:45 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2023-07-27 04:10:45 +0000
commit195e50541eca73b8d40bed4223b87ba48cfed27d (patch)
tree37ec94fb89b90e64ffc077116a27768b2a38c40a /libexec/Makefile
parent949199a212ec714eab77ee2dc9b95252eb32ca2c (diff)
downloadsrc-195e50541eca73b8d40bed4223b87ba48cfed27d.tar.gz
src-195e50541eca73b8d40bed4223b87ba48cfed27d.zip
Diffstat (limited to 'libexec/Makefile')
-rw-r--r--libexec/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index a890115fd15a..f1e99e580e97 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -3,6 +3,8 @@
.include <src.opts.mk>
+.include <bsd.compat.pre.mk>
+
SUBDIR= ${_atf} \
${_atrun} \
${_blacklistd-helper} \
@@ -84,7 +86,9 @@ _tftp-proxy= tftp-proxy
.if !defined(NO_PIC) && !defined(NO_RTLD)
_rtld-elf= rtld-elf
-SUBDIR.${MK_LIB32}+= rtld-elf32
+.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
+SUBDIR.${MK_LIB${LIBCOMPAT}}+= rtld-elf${libcompat}
+.endfor
.endif
.if ${MK_RBOOTD} != "no"