summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.20.0/Configure-multilib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.20.0/Configure-multilib.patch')
-rw-r--r--meta/recipes-devtools/perl/perl-5.20.0/Configure-multilib.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.20.0/Configure-multilib.patch b/meta/recipes-devtools/perl/perl-5.20.0/Configure-multilib.patch
new file mode 100644
index 0000000000..9625b0b84e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.20.0/Configure-multilib.patch
@@ -0,0 +1,17 @@
1Upstream-Status:Pending
2
3Index: perl-5.12.3/Configure
4===================================================================
5--- perl-5.12.3.orig/Configure
6+++ perl-5.12.3/Configure
7@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib
8 loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
9
10 : general looking path for locating libraries
11-glibpth="/lib /usr/lib $xlibpth"
12+glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth"
13 glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
14+test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth"
15 test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
16 test -f /shlib/libc.so && glibpth="/shlib $glibpth"
17 test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"