mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Get rid of embedding make command line
NMAKE sets MAKE to the full path name, which includes spaces by the default installation.
This commit is contained in:
parent
d56a3c0635
commit
04c53a1d03
1 changed files with 3 additions and 2 deletions
|
@ -2,9 +2,10 @@ $(TARGET_SO) $(STATIC_LIB): failure.failed
|
|||
|
||||
failure.failed: failure.cpp cxxanyargs.o
|
||||
$(Q)$(RUBY) -rfileutils \
|
||||
-e "err = IO.popen(%[$(MAKE) failure.o], err:[:child, :out], &:read)" \
|
||||
-e "t = ARGV.shift" \
|
||||
-e "err = IO.popen(ARGV, err:[:child, :out], &:read)" \
|
||||
-e "abort err unless /rb_define_method/ =~ err" \
|
||||
-e "FileUtils.touch(*ARGV)" $@
|
||||
-e "FileUtils.touch(t)" $@ $(MAKE) failure.o
|
||||
|
||||
# AUTOGENERATED DEPENDENCIES START
|
||||
cxxanyargs.o: $(RUBY_EXTCONF_H)
|
||||
|
|
Loading…
Add table
Reference in a new issue