From 04c53a1d03130b5cd4a1eea35cab92003a4d0909 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 20 Sep 2019 17:05:52 +0900 Subject: Get rid of embedding make command line NMAKE sets MAKE to the full path name, which includes spaces by the default installation. --- ext/-test-/cxxanyargs/depend | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/-test-') diff --git a/ext/-test-/cxxanyargs/depend b/ext/-test-/cxxanyargs/depend index a2c74a8b1d..ad8260a55f 100644 --- a/ext/-test-/cxxanyargs/depend +++ b/ext/-test-/cxxanyargs/depend @@ -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) -- cgit v1.2.3