diff options
Diffstat (limited to 'meta/recipes-devtools/perl/libxml-parser-perl')
-rw-r--r-- | meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch b/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch new file mode 100644 index 0000000000..457fb77384 --- /dev/null +++ b/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From bd9b0e10843da72276982bd1394ade734fea0289 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <tim.orling@konsulko.com> | ||
3 | Date: Fri, 2 Feb 2024 21:15:34 -0800 | ||
4 | Subject: [PATCH] Makefile.PL: make check_lib cross friendly | ||
5 | |||
6 | lib => qw(expat) does not seem to respect EXPATLIBPATH and | ||
7 | EXPATINCPATH when we are cross-compiling. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE specific] | ||
10 | |||
11 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
12 | --- | ||
13 | Makefile.PL | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Makefile.PL b/Makefile.PL | ||
17 | index 505d1df..19f428b 100644 | ||
18 | --- a/Makefile.PL | ||
19 | +++ b/Makefile.PL | ||
20 | @@ -30,7 +30,7 @@ foreach (@ARGV) { | ||
21 | |||
22 | unless ( | ||
23 | check_lib( # fill in what you prompted the user for here | ||
24 | - lib => [qw(expat)], | ||
25 | + #lib => [qw(expat)], | ||
26 | header => ['expat.h'], | ||
27 | incpath => $expat_incpath, | ||
28 | ( $expat_libpath ? ( libpath => $expat_libpath ) : () ), | ||