From 92705750d3ebd77bea806e3377eacb010eaac0c8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 24 Jul 2014 00:59:51 +0000 Subject: [PATCH] rbconfig/sizeof: VPATH prefix * ext/rbconfig/sizeof/depend (sizes.c): prefix with nmake-style VPATH to use the distributed source in out-of-place builds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/rbconfig/sizeof/depend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/rbconfig/sizeof/depend b/ext/rbconfig/sizeof/depend index 360b3386d3..c8106dd123 100644 --- a/ext/rbconfig/sizeof/depend +++ b/ext/rbconfig/sizeof/depend @@ -1,3 +1,3 @@ -sizes.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in +{$(srcdir)}sizes.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in $(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \ $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in