summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKUWASHIMA yuichiro <ykuwashima@gmail.com>2013-05-05 00:58:01 +0900
committerKUWASHIMA yuichiro <ykuwashima@gmail.com>2013-05-05 00:58:01 +0900
commit692eb27c754e901507727e290cbd4d0fb379ac58 (patch)
treedad480ddbbedede3777260946bfae6ec42936cbf
parent840e359f766776ba696b3360c8383536f3d2a8bb (diff)
downloadffi-692eb27c754e901507727e290cbd4d0fb379ac58.tar.gz
Fix compile error for cygwin1.7.18, without -mwin32 option.
-rw-r--r--ext/ffi_c/extconf.rb1
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")