Browse Source

glibc: fixed to create a proper ld.so.conf for 64 bit architectures

user/karasz/next/postgresql
Christian Wiese 15 years ago
parent
commit
da91d22828
  1. 24
      base/glibc/glibc.conf

24
base/glibc/glibc.conf

@ -163,33 +163,39 @@ glibc_postmake()
# Install ld.so.conf
#
if [ "$SDECFG_MULTILIB" == 1 ] ; then
case $arch_machine in
powerpc64|sparc64|x86_64|mips64)
cat > $root/etc/ld.so.conf <<-EOT
/lib64
/lib32
/lib
/usr/lib64
/usr/lib32
/usr/lib
/usr/*/lib64
/usr/*/lib32
/usr/*/lib
/opt/*/lib64
/opt/*/lib32
/opt/*/lib
/usr/local/lib64
/usr/local/lib32
/usr/local/lib
EOT
else
cat > $root/etc/ld.so.conf <<-EOT
if [ "$SDECFG_MULTILIB" == 1 ] ; then
cat >> $root/etc/ld.so.conf <<-EOT
/lib32
/usr/lib32
/usr/*/lib32
/opt/*/lib32
/usr/local/lib32
EOT
fi
;;
*) cat > $root/etc/ld.so.conf <<-EOT
/lib
/usr/lib
/usr/*/lib
/opt/*/lib
/usr/local/lib
EOT
fi
;;
esac
# Move 'ldconfig' and 'sln' binaries
#

Loading…
Cancel
Save