diff options
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-x | tool/mkconfig.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index 566f5a304e..6b6f14c940 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -9,6 +9,7 @@ $install_name ||= nil $so_name ||= nil $cross_compiling ||= nil +$unicode_version ||= nil arch = $arch or raise "missing -arch" version = $version or raise "missing -version" @@ -235,6 +236,9 @@ end print(*v_fast) print(*v_others) +print <<EOS if $unicode_version + CONFIG["UNICODE_VERSION"] = #{$unicode_version.dump} +EOS print <<EOS if /darwin/ =~ arch CONFIG["SDKROOT"] = ENV["SDKROOT"] || "" # don't run xcrun everytime, usually useless. EOS |