From: "phasis68 (Heesob Park)" Date: 2012-05-11T15:46:35+09:00 Subject: [ruby-core:44992] [ruby-trunk - Feature #6421] Add zlibwapi to extconf.rb file for zlib library Issue #6421 has been updated by phasis68 (Heesob Park). I have tested it. The zlibwapi.dll can be stdcall or cdecl depend on the macro ZLIB_WINAPI defined or not. I think there is no problem if it is not accepted. You can rename zlibwapi.dll and zlibwapi.lib to zlib.dll and zlib.lib. ---------------------------------------- Feature #6421: Add zlibwapi to extconf.rb file for zlib library https://bugs.ruby-lang.org/issues/6421#change-26579 Author: djberg96 (Daniel Berger) Status: Assigned Priority: Normal Assignee: usa (Usaku NAKAMURA) Category: ext Target version: 1.9.3 The vstudio contrib solution in zlib 1.2.7 creates a "zlibwapi" dll file. According to the readme.txt file, "The new DLL was renamed because there exist several incompatible versions of zlib.dll on the Internet." So, I propose this very modest adjustment to the extconf.rb file for 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 Regards, Dan -- http://bugs.ruby-lang.org/