Browse Source

Improved functions.in to set libdir depending on $arch_suffix which is set by multilib parse-config

Fixed functions.in to set arch_suffix to $SDECFG_ABI_DEFAULT if we do not build multilib (hack!)

Note: As discussed with Alejandro we agreed on removing that hack later
      while removing ugly libdir mangling from packages (i.e. xorg)!
user/amery/multilib
Christian Wiese 17 years ago
committed by Alejandro Mery
parent
commit
2756bb9a36
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      lib/functions.in

+ 4
- 1
lib/functions.in

@ -815,7 +815,10 @@ pkggetdir() {
libdir)
case $arch_machine in
powerpc64|sparc64|x86_64|mips64)
echo "$xprefix/lib64" ;;
if [ -z "$arch_suffix" ]; then
arch_suffix="$SDECFG_ABI_DEFAULT"
fi
echo "$xprefix/lib$arch_suffix" ;;
*)
echo "$xprefix/lib" ;;
esac

Loading…
Cancel
Save