Skip to content

Commit 59b5f73

Browse files
committed
fix $archname in ExtUtils::MakeMaker
1 parent 0dc7a73 commit 59b5f73

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3255,7 +3255,10 @@ PPD_PERLVERS
32553255
# archname did not change from 5.6 to 5.8, but those versions may
32563256
# not be not binary compatible so now we append the part of the
32573257
# version that changes when binary compatibility may change
3258-
if ("$]" >= 5.008) {
3258+
if ("$]" >= 41) {
3259+
$archname .= "-$Config{api_version}";
3260+
}
3261+
elsif ("$]" >= 5.008) {
32593262
$archname .= "-$Config{api_revision}.$Config{api_version}";
32603263
}
32613264
push @ppd_chunks, sprintf <<'PPD_OUT', $archname;

0 commit comments

Comments
 (0)