Skip to content

Commit 61978d5

Browse files
committed
Fix incorrect case for PERL_VERSION
1 parent 9f7fafe commit 61978d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if ($Config{gccversion} =~ /llvm/i) {
4141
$cc_option_flags .= ' -Wno-compound-token-split-by-macro';
4242
}
4343

44-
if ($Config{perl_version} <= 20) {
44+
if ($Config{PERL_VERSION} <= 20) {
4545
$cc_option_flags .= ' -Wno-error=pointer-bool-conversion';
4646
}
4747
}

maint/Makefile_header.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if ($Config{gccversion} =~ /llvm/i) {
3131
$cc_option_flags .= ' -Wno-compound-token-split-by-macro';
3232
}
3333

34-
if ($Config{perl_version} <= 20) {
34+
if ($Config{PERL_VERSION} <= 20) {
3535
$cc_option_flags .= ' -Wno-error=pointer-bool-conversion';
3636
}
3737
}

0 commit comments

Comments
 (0)