Annotation of /trunk/perl/patches/perl-5.12.1-libc_lib64-1.patch
Parent Directory | Revision Log
Revision 1075 -
(hide annotations)
(download)
Tue Aug 17 14:00:45 2010 UTC (14 years, 1 month ago) by niro
File size: 673 byte(s)
Tue Aug 17 14:00:45 2010 UTC (14 years, 1 month ago) by niro
File size: 673 byte(s)
-re-diffed
1 | niro | 1075 | diff -Naur perl-5.12.1/hints/linux.sh perl-5.12.1-magellan/hints/linux.sh |
2 | --- perl-5.12.1/hints/linux.sh 2010-04-26 10:09:20.000000000 +0200 | ||
3 | +++ perl-5.12.1-magellan/hints/linux.sh 2010-08-17 16:03:37.000000000 +0200 | ||
4 | @@ -63,9 +63,9 @@ | ||
5 | # We don't use __GLIBC__ and __GLIBC_MINOR__ because they | ||
6 | # are insufficiently precise to distinguish things like | ||
7 | # libc-2.0.6 and libc-2.0.7. | ||
8 | -if test -L /lib/libc.so.6; then | ||
9 | - libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'` | ||
10 | - libc=/lib/$libc | ||
11 | +if test -L /lib64/libc.so.6; then | ||
12 | + libc=`ls -l /lib64/libc.so.6 | awk '{print $NF}'` | ||
13 | + libc=/lib64/$libc | ||
14 | fi | ||
15 | |||
16 | # Configure may fail to find lstat() since it's a static/inline |