perl: fix Configure-multilib.patch

Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04

(From OE-Core rev: 041a10722b7311c57a03d5a032621d8c32e4fc7e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2011-05-03 11:45:58 -07:00 committed by Richard Purdie
parent 7050587909
commit 49e2fcc604
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Index: perl-5.12.3/Configure
-glibpth="/lib /usr/lib $xlibpth"
+glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth"
glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+test -f /usr/lib/`uname -m`-linux-gnu/libc.so && glibpth="/usr/lib/`uname -m`-linux-gnu $glibpth"
+test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth"
test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
test -f /shlib/libc.so && glibpth="/shlib $glibpth"
test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"