void-packages/srcpkgs/glibc32/INSTALL

19 lines
467 B
Plaintext
Raw Normal View History

#
# This script adds /lib32 and /usr/lib32 into ld.so's cache for
# x86_64 systems.
#
case "${ACTION}" in
post)
if [ ! -d etc/ld.so.conf.d ]; then
mkdir -p etc/ld.so.conf.d
echo "include /etc/ld.so.conf.d/*.conf" >> etc/ld.so.conf
fi
if [ ! -f etc/ld.so.conf.d/glibc32.conf ]; then
echo "/lib32" >> etc/ld.so.conf.d/glibc32.conf
echo "/usr/lib32" >> etc/ld.so.conf.d/glibc32.conf
chmod 644 etc/ld.so.conf.d/glibc32.conf
sbin/ldconfig -r .
fi
;;
esac