Skip to content

Commit

Permalink
Fix zlib link error in generated Makefile.
Browse files Browse the repository at this point in the history
Update win32 build info to zlib 1.2.11.
  • Loading branch information
ralph-irving committed Aug 9, 2021
1 parent 1043d3d commit 0b59a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion README.win32
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b59a37

Please sign in to comment.