summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-24 00:15:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-24 00:15:02 +0000
commita2026d89fc5d2faf1c56608d4b01e22638d70e96 (patch)
tree2bf6cb69bed74244de41a9b44f15e499f973b96f /common.mk
parent846311a47b23573f99335797849a0bef122d72b6 (diff)
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
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 8678b6b50a..18c26ea9e8 100644
--- a/common.mk
+++ b/common.mk
@@ -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)