summaryrefslogtreecommitdiff
path: root/bcc32
diff options
context:
space:
mode:
Diffstat (limited to 'bcc32')
-rw-r--r--bcc32/Makefile.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index 1fc6b2dd9e..a6dcc67cf9 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -427,7 +427,7 @@ $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: rbconfig.rb
post-install-ext::
$(MINIRUBY) -I$(srcdir)lib -rrbconfig -rfileutils \
- -e 'FileUtils.rm_f(Dir[File.join(Config::CONFIG["archdir"],"**","*.tds")])'
+ -e 'FileUtils.rm_f(Dir[File.join(ARGV+[Config::CONFIG["archdir"],"**","*.tds"])])' "$(DESTDIR)"
clean-local::
@$(RM) ext\extinit.c ext\extinit.$(OBJEXT) *.tds *.il? $(RUBY_SO_NAME).lib