Skip to content

Commit 741b9cc

Browse files
committed
improve libpng autodetection
libpng16 maybe?
1 parent e9e66c8 commit 741b9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ sub try_to_autoconfigure {
592592
print STDERR "$pc: $private\n";
593593
$features = 'GD_GIF GD_OPENPOLYGON';
594594
$features .= ' GD_ZLIB' if $private =~ / zlib /;
595-
$features .= ' GD_PNG' if $private =~ / libpng /;
595+
$features .= ' GD_PNG' if $private =~ /png/;
596596
$features .= ' GD_FREETYPE' if $private =~ / freetype/;
597597
$features .= ' GD_FONTCONFIG' if $private =~ / fontconfig/;
598598
$features .= ' GD_RAQM' if $private =~ / raqm/;

0 commit comments

Comments
 (0)