]> Zhao Yanbai Git Server - minix.git/commitdiff
Adding missing symlink to dynamic loader.
authorLionel Sambuc <lionel@minix3.org>
Tue, 27 Nov 2012 11:40:17 +0000 (11:40 +0000)
committerLionel Sambuc <lionel@minix3.org>
Wed, 28 Nov 2012 16:35:56 +0000 (17:35 +0100)
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.

distrib/sets/lists/minix/mi
libexec/ld.elf_so/Makefile

index fbd2e298aee1631b9dc16f65a8d3b4c7321350a3..855e84f12f6335d5254944afa1d39092780720bc 100644 (file)
 ./etc/utmp                             minix-sys
 ./home                                 minix-sys
 ./libexec/ld-elf.so.1                  minix-sys
+./libexec/ld.elf_so                    minix-sys
 ./libexec                              minix-sys
 ./lib                                  minix-sys
 ./lib/cpp                              minix-sys
index 378c37dccd8587988b89a18c0f22a9e2494f2631..3378bbe13fa8d86a7ec4594e9220584dcda89514 100644 (file)
@@ -13,6 +13,8 @@ LDSTATIC=     -dynamic
 
 # And the minix gcc currently references /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
 .if defined(BSD_MK_COMPAT_FILE)