#!/bin/sh -e ## 128_powerpc64_biarch.dpatch ## ## DP: Description: Add (/usr)/lib32 to the search paths on powerpc64. ## DP: Author: Andreas Jochens ## DP: Upstream status: Debian specific if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 @DPATCH@ +++ binutils/ld/emulparams/elf32ppccommon.sh 2006-03-02 08:50:04.000000000 +0000 --- binutils/ld/emulparams/elf32ppccommon.sh 2006-09-13 06:59:26.000000000 +0000 @@ -45,5 +45,6 @@ # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first. case "$EMULATION_NAME" in + *32*) LIBPATH_SUFFIX=32 ;; *64*) LIBPATH_SUFFIX=64 ;; esac