From bf52a8b6c44a32a1e251ddc1dbb6904f4f6c6f87 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 5 Dec 2015 08:48:28 +0000 Subject: Fix cross build * tool/fake.rb: Fix cross build when srcdir is an absolute path. * Makefile.in: PREP dependency is needed when cross build too, not "-r$(arch)-fake" to be used before created. [Fix GH-1125] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 91bc8fc45e..4ae4596f13 100644 --- a/Makefile.in +++ b/Makefile.in @@ -258,7 +258,7 @@ ruby-runner.c: template/ruby-runner.c.in ruby-runner$(EXEEXT): ruby-runner.c $(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) -DRUBY_INSTALL_NAME=$(RUBY_INSTALL_NAME) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ ruby-runner.c -$(RBCONFIG): $($(CROSS_COMPILING:no=)PREP) +$(RBCONFIG): $(PREP) rbconfig.rb: $(RBCONFIG) -- cgit v1.2.3