libcompat: Correct rtld MLINKS

Don't install duplicate ld-elf.so.1.1 and ld.so.1 links in rtld-elf32.
Do install lib-elf32.so.1.1 and ldd32.1 links.

Reported by:	madpilot
This commit is contained in:
Brooks Davis 2019-11-12 22:31:59 +00:00
parent b662204f54
commit 051ed84f28
3 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ INSTALLFLAGS= -C -b
PRECIOUSPROG= PRECIOUSPROG=
BINDIR= /libexec BINDIR= /libexec
SYMLINKS= ../..${BINDIR}/${PROG} ${LIBEXECDIR}/${PROG} SYMLINKS= ../..${BINDIR}/${PROG} ${LIBEXECDIR}/${PROG}
MLINKS= rtld.1 ld-elf.so.1.1 \ MLINKS?= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1 rtld.1 ld.so.1
.if ${MACHINE_CPUARCH} == "sparc64" .if ${MACHINE_CPUARCH} == "sparc64"

View File

@ -5,6 +5,7 @@ NEED_COMPAT= 32
PROG= ld-elf32.so.1 PROG= ld-elf32.so.1
MAN= MAN=
MLINKS= rtld.1 ld-elf32.so.1
.PATH: ${SRCTOP}/libexec/rtld-elf .PATH: ${SRCTOP}/libexec/rtld-elf
.include "${SRCTOP}/libexec/rtld-elf/Makefile" .include "${SRCTOP}/libexec/rtld-elf/Makefile"

View File

@ -5,6 +5,7 @@ NEED_COMPAT= 32
PROG= ldd32 PROG= ldd32
MAN= MAN=
MLINKS= ldd.1 ldd32.1
.PATH: ${SRCTOP}/usr.bin/ldd .PATH: ${SRCTOP}/usr.bin/ldd
.include "${SRCTOP}/usr.bin/ldd/Makefile" .include "${SRCTOP}/usr.bin/ldd/Makefile"