Skip to content
This repository
Browse code

Restore patch for using the correct runtime lib in windows

  • Loading branch information...
commit d9881f99195524c4c5dcd198b46040ae6552021b 1 parent c615d4b
Wayne Meissner authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/ffi/platform.rb
2  lib/ffi/platform.rb
@@ -90,7 +90,7 @@ def self.is_os(os)
90 90 end
91 91
92 92 LIBC = if IS_WINDOWS
93   - "msvcrt.dll"
  93 + RbConfig::CONFIG['RUBY_SO_NAME'].split('-')[-2] + '.dll'
94 94 elsif IS_GNU
95 95 GNU_LIBC
96 96 else

0 comments on commit d9881f9

Please sign in to comment.
Something went wrong with that request. Please try again.