Recognize zlibwapi as linking library

* ext/zlib/extconf.rb: Recognize zlibwapi as linking library.
  Patch by Daniel Berger.

  [ruby-core:44979] [Feature #6421]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
luislavena 2012-11-06 18:50:53 +00:00
parent 81bfd9a6c0
commit 95cd5aaa48
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Wed Nov 7 03:45:12 2012 Luis Lavena <luislavena@gmail.com>
* ext/zlib/extconf.rb: Recognize zlibwapi as linking library.
Patch by Daniel Berger.
[ruby-core:44979] [Feature #6421]
Wed Nov 7 02:06:40 2012 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* enumerator.c: New method #size; constructor accepts size.

View File

@ -10,7 +10,7 @@ require 'rbconfig'
dir_config 'zlib'
if %w'z libz zlib1 zlib zdll'.find {|z| have_library(z, 'deflateReset')} and
if %w'z libz zlib1 zlib zdll zlibwapi'.find {|z| have_library(z, 'deflateReset')} and
have_header('zlib.h') then
defines = []