Browse Source

Changed fhs to create the proper lib dirs for multilib and set the default to SDECFG_ABI_DEFAULT

user/chris/test/multilib
Christian Wiese 18 years ago committed by Christian Wiese
parent
commit
1db0bf5360
  1. 11
      base/fhs/fhs-3-lib.sh

11
base/fhs/fhs-3-lib.sh

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../fhs/fhs-3-lib.sh # Filename: package/.../fhs/fhs-3-lib.sh
# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2006 - 2011 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -16,17 +16,16 @@ lib=
case $arch_machine in case $arch_machine in
powerpc64|sparc64|x86_64|mips64) powerpc64|sparc64|x86_64|mips64)
lib=lib64 ;; lib="lib${SDECFG_ABI_DEFAULT}" ;;
esac esac
for x in '' 'usr/' 'usr/local/'; do for x in '' 'usr/' 'usr/local/'; do
if [ -z "$lib" ]; then if [ -z "$lib" ]; then
echo "m ${x}lib" echo "m ${x}lib"
else else
if [ "$SDECFG_MULTILIB" = 1 ]; then for abi in $arch_abis; do
echo "m ${x}lib32" echo "m ${x}lib${abi}"
fi done
echo "m ${x}lib64"
echo "l ${x}lib $lib" echo "l ${x}lib $lib"
fi fi
done done

Loading…
Cancel
Save