mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 19:09:41 +01:00
Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04 Signed-off-by: Saul Wold <sgw@linux.intel.com>
16 lines
759 B
Diff
16 lines
759 B
Diff
Index: perl-5.12.2/Configure
|
|
===================================================================
|
|
--- perl-5.12.2.orig/Configure
|
|
+++ perl-5.12.2/Configure
|
|
@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib
|
|
loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
|
|
|
|
: general looking path for locating libraries
|
|
-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/*-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"
|