From 0b59a371369d25b23192df69277e276b6b120d94 Mon Sep 17 00:00:00 2001 From: Ralph Irving Date: Mon, 9 Aug 2021 14:20:24 -0400 Subject: [PATCH] Fix zlib link error in generated Makefile. Update win32 build info to zlib 1.2.11. --- Makefile.PL | 2 +- README.win32 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index bcb5d92..6f622d4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,7 +7,7 @@ use Getopt::Long; my (@INC, @LIBS); push @INC, '-Iinclude', '-Isrc'; -push @LIBS, '-lz'; +push @LIBS, '-L win32/ -lzlib'; my $inc_files = join(' ', glob 'include/*.h'); my $src_files = join(' ', glob 'src/*.c'); diff --git a/README.win32 b/README.win32 index 71d0349..7640fdb 100644 --- a/README.win32 +++ b/README.win32 @@ -4,7 +4,7 @@ Tested with Visual Studio 2010 Express. zlib ---- -Download zlib from http://zlib.net/zlib128.zip and extract +Download zlib from https://zlib.net/zlib1211.zip and extract Open command prompt using MS Visual Studio start menu entry or run the vcvars file, for example C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat nmake -f win32/Makefile.msc