Project

General

Profile

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

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

View differences:

ChangeLog
1
Wed Nov  7 03:45:12 2012  Luis Lavena  <luislavena@gmail.com>
2

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

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

  
1 8
Fri Oct 26 17:22:18 2012  NAKAMURA Usaku  <usa@ruby-lang.org>
2 9

  
3 10
	* file.c (append_fspath): need to set the encoding to result always.
ext/zlib/extconf.rb
10 10
dir_config 'zlib'
11 11

  
12 12

  
13
if %w'z libz zlib1 zlib zdll'.find {|z| have_library(z, 'deflateReset')} and
13
if %w'z libz zlib1 zlib zdll zlibwapi'.find {|z| have_library(z, 'deflateReset')} and
14 14
    have_header('zlib.h') then
15 15

  
16 16
  defines = []