Project

General

Profile

Backport #7293 ยป 0001-backport-zlibwapi-support-r37527.diff

luislavena (Luis Lavena), 11/07/2012 04:00 AM

View differences:

ChangeLog
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]
Fri Oct 26 17:22:18 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* file.c (append_fspath): need to set the encoding to result always.
ext/zlib/extconf.rb
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 = []
    (1-1/1)