1From bd9b0e10843da72276982bd1394ade734fea0289 Mon Sep 17 00:00:00 2001 2From: Tim Orling <tim.orling@konsulko.com> 3Date: Fri, 2 Feb 2024 21:15:34 -0800 4Subject: [PATCH] Makefile.PL: make check_lib cross friendly 5 6lib => qw(expat) does not seem to respect EXPATLIBPATH and 7EXPATINCPATH when we are cross-compiling. 8 9Upstream-Status: Inappropriate [OE specific] 10 11Signed-off-by: Tim Orling <tim.orling@konsulko.com> 12--- 13 Makefile.PL | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/Makefile.PL b/Makefile.PL 17index 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 ) : () ), 29