<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
@@ -2738,14 +2738,14 @@ sub _find_static_libs {
 
 Called by a utility method of makeaperl. Checks whether a given file
 is an XS library by seeing whether it defines any symbols starting
-with C&lt;boot_&gt;.
+with C&lt;boot_&gt; (with an optional leading underscore â€“ needed on MacOS).
 
 =cut
 
 sub xs_static_lib_is_xs {
     my ($self, $libfile) = @_;
     my $devnull = File::Spec-&gt;devnull;
-    return `nm $libfile 2&gt;$devnull` =~ /\bboot_/;
+    return `nm $libfile 2&gt;$devnull` =~ /\b_?boot_/;
 }
 
 =item makefile (o)
</pre></body></html>