1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/Makefile.sub (ruby_pc): ignore missing variables.

* template/ruby.pc.in: add missing variables for mswin.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-10-30 02:33:59 +00:00
parent af859f8d54
commit d78e20912f
3 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Sat Oct 30 11:33:54 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/Makefile.sub (ruby_pc): ignore missing variables.
* template/ruby.pc.in: add missing variables for mswin.
Sat Oct 30 10:24:35 2010 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* object.c: Make BasicObject.new accept no parameter.

View file

@ -11,6 +11,10 @@ RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@
RUBY_BASE_NAME=@RUBY_BASE_NAME@
RUBY_SO_NAME=@RUBY_SO_NAME@
RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
LIBPATH=@LIBPATH@
LIBRUBY=@LIBRUBY@
LIBRUBY_A=@LIBRUBY_A@
LIBRUBY_SO=@LIBRUBY_SO@
LIBRUBYARG_SHARED=@LIBRUBYARG_SHARED@
LIBRUBYARG_STATIC=@LIBRUBYARG_STATIC@
LIBRUBYARG=@LIBRUBYARG@

View file

@ -899,9 +899,10 @@ end
<<KEEP
$(ruby_pc): $(RBCONFIG)
@$(MINIRUBY) -rrbconfig -p \
@$(MINIRUBY) -r./rbconfig -p \
-e 'STDOUT.binmode' \
-e '$$_.gsub!(/@([a-z_]\w*)@/i) {' \
-e 'RbConfig::MAKEFILE_CONFIG[$$1].gsub(/\$$\((.+?)\)/, %Q[$${\1}])'
-e '(RbConfig::MAKEFILE_CONFIG[$$1] or "").gsub(/\$$\((.+?)\)/, %Q[$${\\1}])' \
-e '}' \
$(srcdir)/template/ruby.pc.in > $@