diff options
Diffstat (limited to 'ext/zlib/extconf.rb')
-rw-r--r-- | ext/zlib/extconf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb index c49c29d463..c08dba7206 100644 --- a/ext/zlib/extconf.rb +++ b/ext/zlib/extconf.rb @@ -7,8 +7,9 @@ require 'mkmf' require 'rbconfig' -dir_config 'zlib' +$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 |