summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/fix_bad_rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/fix_bad_rpath.patch')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/fix_bad_rpath.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/fix_bad_rpath.patch b/meta/recipes-devtools/perl/perl-5.14.3/fix_bad_rpath.patch
new file mode 100644
index 0000000..69ac434
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/fix_bad_rpath.patch
@@ -0,0 +1,24 @@
1Upstream-Status:Inappropriate [embedded specific]
2Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
32011/07/01
4
5Fix these Package QA warnings before they are converted into fetal errors:
6
7WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so
8
9This fixes this warning for perl recipe as well as libxml-parser-perl recipe.
10It is a fix to MakeMaker within perl, so all such perl recipes will get
11fixed with this perl fix.
12
13Index: perl-5.14.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
14===================================================================
15--- perl-5.14.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
16+++ perl-5.14.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
17@@ -55,6 +55,7 @@ sub _unix_os2_ext {
18 my($found) = 0;
19
20 # Debian-specific: don't use LD_RUN_PATH for standard dirs
21+ push(@libpath, "SYSROOTLIB");
22 $ld_run_path_seen{$_}++ for @libpath;
23
24 foreach my $thislib (split ' ', $potential_libs) {