Fix building ltrace on PowerPC.

On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
  ltrace wouldn't build on PowerPC because in the
  sysdeps/linux-gnu directory in the ltrace source tree
  the powerpc directory is called ppc.  I added some code
  in 400-ltrace.sh to create a symlink for it so it will
  build now.

Patch slightly modified by me before applying.

 /trunk/scripts/build/debug/400-ltrace.sh |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
This commit is contained in:
Yann E. MORIN" 2009-01-20 19:05:52 +00:00
parent 991a5070e5
commit 28176fe21e

View File

@ -11,6 +11,11 @@ do_debug_ltrace_get() {
do_debug_ltrace_extract() {
CT_Extract "ltrace-${CT_LTRACE_VERSION}"
CT_Patch "ltrace-${CT_LTRACE_VERSION}"
# ltrace uses ppc instead of powerpc for the arch name
# create a symlink to get it to build for powerpc
CT_Pushd "${CT_SRC_DIR}/ltrace-${CT_LTRACE_VERSION}/sysdeps/linux-gnu"
CT_DoExecLog ALL ln -sf ppc powerpc
CT_Popd
}
do_debug_ltrace_build() {