projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f2fb9
)
link zlib in using the default installed library name on Win32 instead of as libz.
author
Tony Cook
<tony@develop=help.com>
Thu, 14 Dec 2006 13:52:53 +0000
(13:52 +0000)
committer
Tony Cook
<tony@develop=help.com>
Thu, 14 Dec 2006 13:52:53 +0000
(13:52 +0000)
fixes RT #23064
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index 8ca21b058f134a5b4df5a94558fed74990df22d4..5e60dd4d19641929f5e3d76f5bb0d6a3ebe7c9ef 100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-470,7
+470,7
@@
sub init {
def=>'HAVE_LIBPNG',
inccheck=>sub { -e catfile($_[0], 'png.h') },
libcheck=>sub { $_[0] eq "libpng$aext" or $_[0] eq "libpng.$lext" },
- libfiles=>'-lpng -lz',
+ libfiles=>
$^O eq 'MSWin32' ? '-lpng -lzlib' :
'-lpng -lz',
objfiles=>'png.o',
docs=>q{
Png stands for Portable Network Graphics and is intended as