0001-Makefile.PL-make-check_lib-cross-friendly.patch 904 B

12345678910111213141516171819202122232425262728
  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. lib => qw(expat) does not seem to respect EXPATLIBPATH and
  6. EXPATINCPATH when we are cross-compiling.
  7. Upstream-Status: Inappropriate [OE specific]
  8. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
  9. ---
  10. Makefile.PL | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/Makefile.PL b/Makefile.PL
  13. index 505d1df..19f428b 100644
  14. --- a/Makefile.PL
  15. +++ b/Makefile.PL
  16. @@ -30,7 +30,7 @@ foreach (@ARGV) {
  17. unless (
  18. check_lib( # fill in what you prompted the user for here
  19. - lib => [qw(expat)],
  20. + #lib => [qw(expat)],
  21. header => ['expat.h'],
  22. incpath => $expat_incpath,
  23. ( $expat_libpath ? ( libpath => $expat_libpath ) : () ),