diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-17 03:12:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-17 03:12:53 +0000 |
commit | 33f78212ceb6a09a392d23026afaa53f3ef1c00b (patch) | |
tree | 97e55d85400dc7f246b233136811ba1917909e55 /lib | |
parent | dcb796c8d5b42abb9196f215c5ca113c4bd4f60b (diff) | |
download | ruby-33f78212ceb6a09a392d23026afaa53f3ef1c00b.tar.gz |
* ext/extmk.rb (parse_args): delay expanding $(extout) until invoking
make.
* lib/mkmf.rb (CLEANLIBS): should remove files have specific
extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index c117741ee1..189c496128 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -868,7 +868,7 @@ DEFFILE = #{deffile} CLEANFILES = #{$cleanfiles.join(' ')} DISTCLEANFILES = #{$distcleanfiles.join(' ')} -extout = #{$extout.sub(/#{Regexp.quote($topdir)}/, '$(topdir)') if $extout} +extout = #{$extout} extout_prefix = #{$extout_prefix} target_prefix = #{target_prefix} LOCAL_LIBS = #{$LOCAL_LIBS} @@ -898,7 +898,7 @@ RUBYARCHDIR = $(sitearchdir)$(target_prefix) } end mfile.print %{ -CLEANLIBS = #{$extout_prefix}$(TARGET).* +CLEANLIBS = #{$extout_prefix}$(TARGET).{#{CONFIG['DLEXT']},#{$LIBEXT},exp,il?,tds,map} CLEANOBJS = *.#{$OBJEXT} *.#{$LIBEXT} *.s[ol] *.pdb *.bak all: #{target ? $extout ? "install" : "$(DLLIB)" : "Makefile"} |