Rubyの拡張ライブラリー、extconf.rbじゃなくてCMakeLists.txtにしようかと思うも、
CMakeはシステムのRubyを使っちゃうから、gem installを実行しているRubyと違うバージョンでコンパイルされちゃうことあるんだよなあ
と思って避けていた。
でもこれ見ると、
https://github.com/rubygems/rubygems/blob/master/lib/rubygems/ext/cmake_builder.rb#L17
target_rbconfigにその情報全部入ってる?
If you have a fediverse account, you can quote this note from your own instance. Search https://bookwor.ms/users/KitaitiMakoto/statuses/114856125686054270 on your instance and quote it. (Note that quoting is not supported in Mastodon.)