more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git] / packages / base / perl / perl_libc.patch.1
1 --- perl-5.8.8.orig/hints/linux.sh      2005-11-18 01:18:45.000000000 +0000
2 +++ perl-5.8.8/hints/linux.sh   2006-02-12 12:20:32.000000000 +0000
3 @@ -52,9 +52,9 @@
4  # We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
5  # are insufficiently precise to distinguish things like
6  # libc-2.0.6 and libc-2.0.7.
7 -if test -L /lib/libc.so.6; then
8 -    libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
9 -    libc=/lib/$libc
10 +if test -L ${prefix}/lib/libc.so.6; then
11 +    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
12 +    libc=${prefix}/lib/$libc
13  fi
14  
15  # Configure may fail to find lstat() since it's a static/inline
16 @@ -330,3 +330,8 @@
17      libswanted="$*"
18      ;;
19  esac
20 +
21 +locincpth=""
22 +loclibpth=""
23 +glibpth="${prefix}/lib"
24 +usrinc="${prefix}/include"