* ext/Win32API/extconf.rb: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9ba6e0738a
commit
160a9f79ef
@ -2,6 +2,8 @@ Tue Jun 4 18:28:37 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
|||||||
|
|
||||||
* ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete.
|
* ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete.
|
||||||
|
|
||||||
|
* ext/Win32API/extconf.rb: refactoring.
|
||||||
|
|
||||||
Tue Jun 4 00:45:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Tue Jun 4 00:45:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* ext/socket/addrinfo.h: typo.
|
* ext/socket/addrinfo.h: typo.
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
case RUBY_PLATFORM
|
require 'mkmf'
|
||||||
when /cygwin/,/mingw/
|
|
||||||
$CFLAGS = "-fno-defer-pop -fno-omit-frame-pointer"
|
if have_library("kernel32")
|
||||||
create_makefile("Win32API")
|
if Config::CONFIG["CC"] =~ /gcc/
|
||||||
when /win32/
|
$CFLAGS += "-fno-defer-pop -fno-omit-frame-pointer"
|
||||||
|
end
|
||||||
create_makefile("Win32API")
|
create_makefile("Win32API")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user