summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-07 08:51:26 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-07 08:51:26 (GMT)
commita830793914498ab79f11f7af328979b3ef08976b (patch)
treed61a49a92cb09410a674528b2fe4c41e9ea579e5 /tool
parent9bb2da28d56e472b7ec156bf1779cf3d974737f7 (diff)
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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mkconfig.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index ec39e5f..e9bedc6 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