From 95cd5aaa48f6b39062b5c4a5950928817b9bf8d6 Mon Sep 17 00:00:00 2001 From: luislavena Date: Tue, 6 Nov 2012 18:50:53 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ ext/zlib/extconf.rb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d5361b02a3..280a60dc72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Nov 7 03:45:12 2012 Luis Lavena + + * 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 * enumerator.c: New method #size; constructor accepts size. diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb index c49c29d463..b4348ceca7 100644 --- a/ext/zlib/extconf.rb +++ b/ext/zlib/extconf.rb @@ -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 = []