diff options
author | Wayne Meissner <wmeissner@gmail.com> | 2009-11-11 10:09:29 +1000 |
---|---|---|
committer | Wayne Meissner <wmeissner@gmail.com> | 2009-11-11 10:09:29 +1000 |
commit | 893d458f82b0821c3339e16a32729bdbea087543 (patch) | |
tree | 30fc05d56c56d12ed7b3664a7e5145213513ac3f | |
parent | 610f8e0819702c18ccd1cc5581c3b680833e94d9 (diff) | |
download | ffi-893d458f82b0821c3339e16a32729bdbea087543.tar.gz |
Fixup -mwin32 flag for cygwin
-rw-r--r-- | ext/ffi_c/extconf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi_c/extconf.rb b/ext/ffi_c/extconf.rb index de3b4b4..d43c5b5 100644 --- a/ext/ffi_c/extconf.rb +++ b/ext/ffi_c/extconf.rb @@ -17,8 +17,8 @@ $defs << "-DHAVE_EXTCONF_H" if $defs.empty? # needed so create_header works create_header -$CFLAGS << "-mwin32" if Config::CONFIG['host_os'] =~ /cygwin/ -$CFLAGS << "-Werror -Wunused -Wformat -Wimplicit -Wreturn-type" +$CFLAGS << "-mwin32 " if Config::CONFIG['host_os'] =~ /cygwin/ +$CFLAGS << "-Werror -Wunused -Wformat -Wimplicit -Wreturn-type " create_makefile("ffi_c") unless libffi_ok |