Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extconf.rb: use Rbconfig::CONFIG instead of mkmf CONFIG
In mkmf.rb CONFIG is defined as CONFIG is defined as RbConfig::MAKEFILE_CONFIG and RbConfig::MAKEFILE_CONFIG is almost same as RbConfig::CONFIG except that RbConfig::MAKEFILE_CONFIG uses reference for other variables. Using CONFIG in extconf.rb causes error with ruby3.2 because now CONFIG['host_os'] uses reference for target_os variable, and extconf.rb expects that this variable is all expanded. So instead, use RbConfig::CONFIG . Closes apalmblad#30
- Loading branch information