summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch
blob: 457fb77384352d95f5555ca61aaf8e49f2a0dbbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From bd9b0e10843da72276982bd1394ade734fea0289 Mon Sep 17 00:00:00 2001
From: Tim Orling <tim.orling@konsulko.com>
Date: Fri, 2 Feb 2024 21:15:34 -0800
Subject: [PATCH] Makefile.PL: make check_lib cross friendly

lib => qw(expat) does not seem to respect EXPATLIBPATH and
EXPATINCPATH when we are cross-compiling.

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 Makefile.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index 505d1df..19f428b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -30,7 +30,7 @@ foreach (@ARGV) {
 
 unless (
     check_lib(    # fill in what you prompted the user for here
-        lib     => [qw(expat)],
+        #lib     => [qw(expat)],
         header  => ['expat.h'],
         incpath => $expat_incpath,
         ( $expat_libpath ? ( libpath => $expat_libpath ) : () ),