projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5ff8a
)
PNG re-work: handle libpng 1.5 correctly
author
Tony Cook
<tony@develop-help.com>
Tue, 14 Jun 2011 13:32:59 +0000
(23:32 +1000)
committer
Tony Cook
<tony@develop-help.com>
Wed, 25 Apr 2012 03:22:13 +0000
(13:22 +1000)
PNG/Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/PNG/Makefile.PL
b/PNG/Makefile.PL
index b610d96531023fe24db91c2fed87fee049459a4f..ec5cdb335cb071675db3d06e398ee5991ba2f61f 100644
(file)
--- a/
PNG/Makefile.PL
+++ b/
PNG/Makefile.PL
@@
-72,7
+72,7
@@
my %probe =
(
name => "PNG",
altname => "Generic",
- pkg => [ qw/libpng14 libpng12 libpng10 libpng/ ],
+ pkg => [ qw/libpng1
5 libpng1
4 libpng12 libpng10 libpng/ ],
inccheck => sub { -e File::Spec->catfile($_[0], "png.h") },
libbase => "png",
testcode => _png_test_code(),
@@
-81,6
+81,11
@@
my %probe =
libpath => \@libpaths,
alternatives =>
[
+ {
+ altname => "v1.5",
+ incsuffix => "libpng14",
+ libbase => "png14",
+ },
{
altname => "v1.4",
incsuffix => "libpng14",