You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
624 B

  1. --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
  2. +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
  3. @@ -2738,14 +2738,14 @@ sub _find_static_libs {
  4. Called by a utility method of makeaperl. Checks whether a given file
  5. is an XS library by seeing whether it defines any symbols starting
  6. -with C<boot_>.
  7. +with C<boot_> (with an optional leading underscore – needed on MacOS).
  8. =cut
  9. sub xs_static_lib_is_xs {
  10. my ($self, $libfile) = @_;
  11. my $devnull = File::Spec->devnull;
  12. - return `nm $libfile 2>$devnull` =~ /\bboot_/;
  13. + return `nm $libfile 2>$devnull` =~ /\b_?boot_/;
  14. }
  15. =item makefile (o)