Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
niclas committed Aug 5, 2022
1 parent 1d5a66b commit f590df8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions glibc.be0
Expand Up @@ -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]}
}

0 comments on commit f590df8

Please sign in to comment.