summaryrefslogtreecommitdiff
path: root/test/fiddle/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fiddle/helper.rb')
-rw-r--r--test/fiddle/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
index e98eecc198..0952cc2438 100644
--- a/test/fiddle/helper.rb
+++ b/test/fiddle/helper.rb
@@ -26,7 +26,7 @@ when /linux/
libm_so = File.join(libdir, "libm.so.6")
when /mingw/, /mswin/
require "rbconfig"
- crtname = RbConfig::CONFIG["RUBY_SO_NAME"][/^msvc\w+/] || 'ucrtbase'
+ crtname = RbConfig::CONFIG["RUBY_SO_NAME"][/msvc\w+/] || 'ucrtbase'
libc_so = libm_so = "#{crtname}.dll"
when /darwin/
libc_so = "/usr/lib/libc.dylib"