зеркало из https://github.com/github/ruby.git
mkconfig.rb: remove cross_compiling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
842a05d2f8
Коммит
d5c776ad58
|
@ -699,7 +699,6 @@ $(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(srcdir)/version.h
|
|||
-e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \
|
||||
$(UNICODE_VERSION) $(UNICODE_DATA_HEADERS)
|
||||
$(Q)$(BOOTSTRAPRUBY) $(srcdir)/tool/mkconfig.rb \
|
||||
-cross_compiling=$(CROSS_COMPILING) \
|
||||
-arch=$(arch) -version=$(RUBY_PROGRAM_VERSION) \
|
||||
-install_name=$(RUBY_INSTALL_NAME) \
|
||||
-so_name=$(RUBY_SO_NAME) \
|
||||
|
|
|
@ -8,13 +8,11 @@
|
|||
# avoid warnings with -d.
|
||||
$install_name ||= nil
|
||||
$so_name ||= nil
|
||||
$cross_compiling ||= nil
|
||||
$unicode_version ||= nil
|
||||
arch = $arch or raise "missing -arch"
|
||||
version = $version or raise "missing -version"
|
||||
|
||||
srcdir = File.expand_path('../..', __FILE__)
|
||||
$:.replace [srcdir+"/lib"] unless $cross_compiling == "yes"
|
||||
$:.unshift(".")
|
||||
|
||||
require "fileutils"
|
||||
|
|
Загрузка…
Ссылка в новой задаче