diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-06-18 07:47:15 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-06-18 07:47:15 +0000 |
commit | 992923053cfb51dc04c6a7ee07ca6fff1b61d1a5 (patch) | |
tree | 2b2857adc35295dcd45c57c338c440ec16f99eff /ext/Win32API/extconf.rb | |
parent | 16487ee284f17cfbf6fad9f6b2fedc57f0f37e0a (diff) |
1.1b9_26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/Win32API/extconf.rb')
-rw-r--r-- | ext/Win32API/extconf.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/Win32API/extconf.rb b/ext/Win32API/extconf.rb index 78b5f6a1e8..a03f358593 100644 --- a/ext/Win32API/extconf.rb +++ b/ext/Win32API/extconf.rb @@ -1,7 +1,7 @@ -if PLATFORM =~ /win32/i - $:.unshift '../..' - require 'rbconfig' - include Config - $CFLAGS = "-fno-defer-pop" if /gcc/ =~ CONFIG['CC'] +case PLATFORM +when /cygwin32/,/mingw32/ + $CFLAGS = "-fno-defer-pop" + create_makefile("Win32API") +when /win32/ create_makefile("Win32API") end |