diff options
Diffstat (limited to 'ext/zlib/extconf.rb')
-rw-r--r-- | ext/zlib/extconf.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb index c08dba7206..c49c29d463 100644 --- a/ext/zlib/extconf.rb +++ b/ext/zlib/extconf.rb @@ -7,10 +7,9 @@ require 'mkmf' require 'rbconfig' -$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" - dir_config 'zlib' + if %w'z libz zlib1 zlib zdll'.find {|z| have_library(z, 'deflateReset')} and have_header('zlib.h') then |