1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

common.mk: link exe/ruby

* common.mk (exe/ruby): make fixed name symbolic link exe/ruby to
  exe/$(PROGRAM), to run hardcoded bundler tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-09-24 00:15:02 +00:00
parent 846311a47b
commit a2026d89fc

View file

@ -779,6 +779,7 @@ $(PLATFORM_D):
exe/$(PROGRAM): ruby-runner.c ruby-runner.h exe/.time
$(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) -DRUBY_INSTALL_NAME=$(@F) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ $<
$(Q) $(@) -e 'ARGV[0]=="ruby" or File.symlink(ARGV[0], ARGV[1]+"/ruby")' $(@F) $(@D)
exe/.time:
$(Q) $(MAKEDIRS) exe $(@D)