diff options
author | Wayne Meissner <wmeissner@gmail.com> | 2013-05-10 15:28:37 -0700 |
---|---|---|
committer | Wayne Meissner <wmeissner@gmail.com> | 2013-05-10 15:28:37 -0700 |
commit | 719f234618a7caf694b806d57c29a1062bfc9a2d (patch) | |
tree | db4a7772223b4d8bfeda67ea7a807ccb745a9548 | |
parent | 28996da405e53a3d7ff2a6a139d7b21a08447294 (diff) | |
parent | 692eb27c754e901507727e290cbd4d0fb379ac58 (diff) | |
download | ffi-719f234618a7caf694b806d57c29a1062bfc9a2d.tar.gz |
Merge pull request #264 from kuwa72/issue263
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") |