summaryrefslogtreecommitdiffstats
path: root/ext/Win32API
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-12 10:21:41 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-12 10:21:41 +0000
commit2faf9e4991e8eb9735a3bf3531af78d53f480a5c (patch)
treeb4b0d72412389ed93418b3b2bb358b66f0f79fef /ext/Win32API
parent53e62e1c8fe18d291e77d4a1b67ca0f3e6656e98 (diff)
downloadruby-2faf9e4991e8eb9735a3bf3531af78d53f480a5c.tar.gz
ruby-2faf9e4991e8eb9735a3bf3531af78d53f480a5c.tar.xz
ruby-2faf9e4991e8eb9735a3bf3531af78d53f480a5c.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/Win32API')
-rw-r--r--ext/Win32API/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Win32API/extconf.rb b/ext/Win32API/extconf.rb
index d7658cfff..8117a3872 100644
--- a/ext/Win32API/extconf.rb
+++ b/ext/Win32API/extconf.rb
@@ -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