File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 13
13
pkg . install_file "#{ settings [ :tools_root ] } /bin/libgdbm_compat-4.dll" , "#{ settings [ :ruby_bindir ] } /libgdbm_compat-4.dll"
14
14
pkg . install_file "#{ settings [ :tools_root ] } /bin/libiconv-2.dll" , "#{ settings [ :ruby_bindir ] } /libiconv-2.dll"
15
15
pkg . install_file "#{ settings [ :tools_root ] } /bin/libffi-6.dll" , "#{ settings [ :ruby_bindir ] } /libffi-6.dll"
16
- elsif platform . is_macos? or platform . name =~ /sles-15|el-8|debian-10|ubuntu-20.04|ubuntu-22.04/ || platform . is_fedora?
16
+ elsif platform . is_macos? || ( platform . is_sles? && platform . os_version . to_i >= 15 ) || ( platform . is_el? && platform . os_version . to_i >= 8 ) || platform . is_debian? || ( platform . is_ubuntu? && platform . os_version . to_i >= 20 ) || platform . is_fedora?
17
17
18
18
# Do nothing for distros that have a suitable compiler do not use pl-build-tools
19
19
You can’t perform that action at this time.
0 commit comments