diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-07 08:51:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-07 08:51:26 +0000 |
commit | a830793914498ab79f11f7af328979b3ef08976b (patch) | |
tree | d61a49a92cb09410a674528b2fe4c41e9ea579e5 | |
parent | 9bb2da28d56e472b7ec156bf1779cf3d974737f7 (diff) | |
download | ruby-a830793914498ab79f11f7af328979b3ef08976b.tar.gz |
Add UNICODE_EMOJI_VERSION to RbConfig [Feature #15341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | common.mk | 1 | ||||
-rwxr-xr-x | tool/mkconfig.rb | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -787,6 +787,7 @@ $(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(srcdir)/version.h -install_name=$(RUBY_INSTALL_NAME) \ -so_name=$(RUBY_SO_NAME) \ -unicode_version=$(UNICODE_VERSION) \ + -unicode_emoji_version=$(UNICODE_EMOJI_VERSION) \ > rbconfig.tmp $(IFCHANGE) "--timestamp=$@" rbconfig.rb rbconfig.tmp diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index ec39e5f8bd..e9bedc6e44 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -9,6 +9,7 @@ $install_name ||= nil $so_name ||= nil $unicode_version ||= nil +$unicode_emoji_version ||= nil arch = $arch or raise "missing -arch" version = $version or raise "missing -version" @@ -247,6 +248,9 @@ print(*v_others) print <<EOS if $unicode_version CONFIG["UNICODE_VERSION"] = #{$unicode_version.dump} EOS +print <<EOS if $unicode_emoji_version + CONFIG["UNICODE_EMOJI_VERSION"] = #{$unicode_emoji_version.dump} +EOS print <<EOS if /darwin/ =~ arch CONFIG["SDKROOT"] = ENV["SDKROOT"] || "" # don't run xcrun everytime, usually useless. EOS |