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 | ae13226414c8afbc5bd9b38b2b4009e258b47210 (patch) | |
| tree | 97e55d85400dc7f246b233136811ba1917909e55 /lib | |
| parent | 4963c8666b7a6472139ee3912636b4179d1891a9 (diff) | |
| download | ruby-ae13226414c8afbc5bd9b38b2b4009e258b47210.tar.gz ruby-ae13226414c8afbc5bd9b38b2b4009e258b47210.tar.xz ruby-ae13226414c8afbc5bd9b38b2b4009e258b47210.zip | |
* ext/extmk.rb (parse_args): delay expanding $(extout) until invoking
make.
* lib/mkmf.rb (CLEANLIBS): should remove files have specific
extensions.
git-svn-id: http://svn.ruby-lang.org/repos/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 c117741ee..189c49612 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"} |
