mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/rbconfig/sizeof: move to an extension library
* common.mk, ext/rbconfig/sizeof: move RbConfig::SIZEOF to an extension library to get rid of annoying nmake VPATH rule. * inits.c (rb_call_inits), miniinit.c (Init_sizes): RbConfig::SIZEOF is no loger built-in. * template/sizes.c.tmpl (Init_sizeof): rename initialization function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
340390093b
commit
28849ce257
7 changed files with 14 additions and 18 deletions
3
ext/rbconfig/sizeof/depend
Normal file
3
ext/rbconfig/sizeof/depend
Normal file
|
@ -0,0 +1,3 @@
|
|||
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
|
2
ext/rbconfig/sizeof/extconf.rb
Normal file
2
ext/rbconfig/sizeof/extconf.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
$srcs = %w[sizes.c]
|
||||
create_makefile('rbconfig/sizeof')
|
Loading…
Add table
Add a link
Reference in a new issue