mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGS
to the option of $CC. * configure.in: set LIBRUBYARG to '-l$(RUBY_SO_NAME)' if the target os is cygwin and --disable-shared option is supplied. * lib/mkmf.rb (init_mkmf): expand config["LIBRUBY"] and config["LIBRUBY_A"]. don't link $LIBRUBYARG_STATIC if --disable-shared option is supplied. * configure.in (RUBY_CPPOUTFILE): should be a better message. * ext/Win32API/extconf.rb: join with a space. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f744cfd8d7
commit
b60172917f
4 changed files with 35 additions and 10 deletions
|
|
@ -2,7 +2,7 @@ require 'mkmf'
|
|||
|
||||
if have_header("windows.h") and have_library("kernel32")
|
||||
if Config::CONFIG["CC"] =~ /gcc/
|
||||
$CFLAGS += "-fno-defer-pop -fno-omit-frame-pointer"
|
||||
$CFLAGS += " -fno-defer-pop -fno-omit-frame-pointer"
|
||||
end
|
||||
create_makefile("Win32API")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue