summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-24 00:59:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-24 00:59:51 +0000
commit92705750d3ebd77bea806e3377eacb010eaac0c8 (patch)
tree4c9d5e28a8f77cc43401fe241f4d978ab3fdf639
parent0982133566233133eced184ebb17250f2c703442 (diff)
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
-rw-r--r--ext/rbconfig/sizeof/depend2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rbconfig/sizeof/depend b/ext/rbconfig/sizeof/depend
index 360b338..c8106dd 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