We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f0844 commit 13222b2Copy full SHA for 13222b2
lib/ruby-bindgen/generators/ffi/library.erb
@@ -14,11 +14,12 @@ def self.search_names
14
result << "lib#{name}"
15
self.library_versions.each do |version|
16
case RbConfig::CONFIG['host_os']
17
- when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
18
- result << "lib#{name}-#{version}"
19
- result << "lib#{name}_#{version}"
20
when /darwin|mac os/
21
result << "lib#{name}.#{version}"
+ when /mingw/
+ result << "lib#{name}-#{version}"
+ when /mswin/
22
+ result << "#{name}_#{version}"
23
else
24
result << "lib#{name}.so.#{version}"
25
end
0 commit comments