зеркало из https://github.com/github/ruby.git
* 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:
Родитель
af859f8d54
Коммит
d78e20912f
|
@ -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.
|
||||
|
|
|
@ -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@
|
||||
|
|
|
@ -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 > $@
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче