diff options
author | KUWASHIMA yuichiro <ykuwashima@gmail.com> | 2013-05-05 00:58:01 +0900 |
---|---|---|
committer | KUWASHIMA yuichiro <ykuwashima@gmail.com> | 2013-05-05 00:58:01 +0900 |
commit | 692eb27c754e901507727e290cbd4d0fb379ac58 (patch) | |
tree | dad480ddbbedede3777260946bfae6ec42936cbf | |
parent | 840e359f766776ba696b3360c8383536f3d2a8bb (diff) | |
download | ffi-692eb27c754e901507727e290cbd4d0fb379ac58.tar.gz |
Fix compile error for cygwin1.7.18, without -mwin32 option.
-rw-r--r-- | ext/ffi_c/extconf.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/ffi_c/extconf.rb b/ext/ffi_c/extconf.rb index 74a3b64..2115b00 100644 --- a/ext/ffi_c/extconf.rb +++ b/ext/ffi_c/extconf.rb @@ -36,7 +36,6 @@ if !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby' || RUBY_ENGINE == 'rbx' create_header - $CFLAGS << " -mwin32 " if RbConfig::CONFIG['host_os'] =~ /cygwin/ $LOCAL_LIBS << " ./libffi/.libs/libffi_convenience.lib" if RbConfig::CONFIG['host_os'] =~ /mswin/ create_makefile("ffi_c") |