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 320ae0cc99..9498f8bc86 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -436,7 +436,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['$(DESTDIR)'+Config::CONFIG['archdir']+'/**/*.tds'])"
+ -e "FileUtils.rm_f(Dir[ARGV[0]+Config::CONFIG['archdir']+'/**/*.tds'])" "$(DESTDIR:\=/)"
clean-local::
@$(RM) ext\extinit.c ext\extinit.$(OBJEXT) *.tds *.il? $(RUBY_SO_NAME).lib