From f590df825c599d960a6d5b015303f8c7bf66de1d Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Fri, 5 Aug 2022 16:26:58 +0200 Subject: [PATCH] glibc: Adapt ld-linux install code for 2.36 In former versions the file ld-linux-x86-64.so.2 in /lib64 was a symlink and therefore could be removed. Now it is the real shared object and should be kept or rather moved to /lib. --- glibc.be0 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/glibc.be0 b/glibc.be0 index ef8bdc8bc..fb0908645 100755 --- a/glibc.be0 +++ b/glibc.be0 @@ -89,10 +89,9 @@ mee_install_post() { cd - fi - # "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.26.so - # we have /lib64 -> /lib , so remove the lib64 directory and create a new link + # "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 + # we have /lib64 -> /lib , so move the lib and remove the lib64 directory # - rm $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]} + mv $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]} $D/lib/ rmdir $D/lib64 - ln -s ld-$PKGVERSION.so $D/lib/ld-linux-x86-64.so.${PKGVERSION[1]} }