Skip to content

Commit

Permalink
Recognize zlibwapi as linking library
Browse files Browse the repository at this point in the history
* ext/zlib/extconf.rb: Recognize zlibwapi as linking library.
  Patch by Daniel Berger.

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
luislavena committed Nov 6, 2012
1 parent 81bfd9a commit 95cd5aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ext/zlib/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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 = []
Expand Down

0 comments on commit 95cd5aa

Please sign in to comment.