aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-10-13 12:40:26 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-10-13 12:42:08 +0000
commitd0f0e0bd741af867582ceede8ac1b0aec90eae2d (patch)
treeef001745529e381acfcff8ddc6eee01541a49c48
parent776df104fa54bb581e1fb88ac44af4fa7fd4052b (diff)
downloadsrc-d0f0e0bd741af867582ceede8ac1b0aec90eae2d.tar.gz
src-d0f0e0bd741af867582ceede8ac1b0aec90eae2d.zip
rtld: Do not install libmap.conf when installing the COMPAT32 version
This has the effect of installing the same file twice at the same location and confuse pkgbase as we add this file twice in the package config part. MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG
-rw-r--r--libexec/rtld-elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index db1bf70ca59e..1f3df176992a 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -14,7 +14,9 @@ MK_ASAN= no
MK_SSP= no
MK_UBSAN= no
+.if !defined(NEED_COMPAT)
CONFS= libmap.conf
+.endif
PROG?= ld-elf.so.1
.if (${PROG:M*ld-elf32*} != "")
TAGS+= lib32