diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-20 17:05:52 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-20 17:05:52 +0900 |
commit | 04c53a1d03130b5cd4a1eea35cab92003a4d0909 (patch) | |
tree | cd9924e0e0cf1e983448eb2ceb6862aad5ab9b24 /ext | |
parent | d56a3c063532906158cc0427a42133fadda75cde (diff) | |
download | ruby-04c53a1d03130b5cd4a1eea35cab92003a4d0909.tar.gz |
Get rid of embedding make command line
NMAKE sets MAKE to the full path name, which includes spaces by
the default installation.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/-test-/cxxanyargs/depend | 5 |
1 files changed, 3 insertions, 2 deletions
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) |