Permalink
Browse files

Merge pull request #1163 from jonforums/zlib-ffi-fix

Use correct vendored zlib directory. Fixes #1159.
  • Loading branch information...
brixen committed Sep 23, 2011
2 parents ef90245 + 477ff6b commit 82c695c68026dac741278c95ccb10698912c93f1
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/zlib.rb.ffi
View
@@ -83,7 +83,7 @@ module Zlib
@@@
constants :required => true do |c|
- c.include_dir 'vm/external_libs/zlib'
+ c.include_dir 'vendor/zlib'
c.include 'zlib.h'
c.const 'ZLIB_VERSION', '%s', '(char *)', nil, to_s
@@ -122,7 +122,7 @@ module Zlib
@@@
constants do |c|
- c.include_dir 'vm/external_libs/zlib'
+ c.include_dir 'vendor/zlib'
c.include 'zconf.h'
c.const 'MAX_WBITS'
@@ -150,7 +150,7 @@ module Zlib
@@@
constants do |c|
- c.include_dir 'vm/external_libs/zlib'
+ c.include_dir 'vendor/zlib'
c.include 'zlib.h'
c.const 'OS_CODE'
@@ -243,7 +243,7 @@ module Zlib
def self.use_zstream_layout
@@@
struct do |s|
- s.include_dir 'vm/external_libs/zlib'
+ s.include_dir 'vendor/zlib'
s.include "zlib.h"
s.name "struct z_stream_s"

0 comments on commit 82c695c

Please sign in to comment.