Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 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 ) : () ), |