Adding missing symlink to dynamic loader.

As the release script does not copy over files from the currently
running system anymore, it has appeared that some binaries are
looking for the dynamic loader in /lib instead of /usr/lib.

It has been replaced by a symlink to ensure compatibility with
binaries, until the path is updated in all the toolchains to be
the same.
This commit is contained in:
Lionel Sambuc 2012-11-27 11:40:17 +00:00
parent 3ba3608c5f
commit 9f7fb97000
2 changed files with 3 additions and 0 deletions

View file

@ -105,6 +105,7 @@
./etc/utmp minix-sys ./etc/utmp minix-sys
./home minix-sys ./home minix-sys
./libexec/ld-elf.so.1 minix-sys ./libexec/ld-elf.so.1 minix-sys
./libexec/ld.elf_so minix-sys
./libexec minix-sys ./libexec minix-sys
./lib minix-sys ./lib minix-sys
./lib/cpp minix-sys ./lib/cpp minix-sys

View file

@ -13,6 +13,8 @@ LDSTATIC= -dynamic
# And the minix gcc currently references /libexec/ld-elf.so.1 # And the minix gcc currently references /libexec/ld-elf.so.1
SYMLINKS+= ${SHLINKINSTALLDIR}/${PROG} /libexec/ld-elf.so.1 SYMLINKS+= ${SHLINKINSTALLDIR}/${PROG} /libexec/ld-elf.so.1
# Minix Clang binaries references /libexec/ld.elf_so
SYMLINKS+= ${SHLINKINSTALLDIR}/${PROG} /libexec/ld.elf_so
# This needs to be before bsd.init.mk # This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE) .if defined(BSD_MK_COMPAT_FILE)