diff options
Diffstat (limited to 'ext/fiddle/extconf.rb')
-rw-r--r-- | ext/fiddle/extconf.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index 9836087455..7e92d6a2f7 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -172,14 +172,19 @@ types.each do |type, signed| if signed check_signedness(type.downcase, "stddef.h") end + else + check_signedness(type.downcase, "stddef.h") end end +if have_header("ruby/memory_view.h") + have_type("rb_memory_view_t", ["ruby/memory_view.h"]) +end + if libffi $LOCAL_LIBS.prepend("./#{libffi.a} ").strip! # to exts.mk $INCFLAGS.gsub!(/-I#{libffi.dir}/, '-I$(LIBFFI_DIR)') end -$INCFLAGS << " -I$(top_srcdir)" create_makefile 'fiddle' do |conf| if !libffi next conf << "LIBFFI_CLEAN = none\n" |