diff --git a/ext/dl/test/test_all.rb b/ext/dl/test/test_all.rb index cf391dd6ab..fb1f4939f9 100644 --- a/ext/dl/test/test_all.rb +++ b/ext/dl/test/test_all.rb @@ -6,6 +6,6 @@ require 'test_func' require 'test_import' case RUBY_PLATFORM -when /cygwin/, /mingw32/, /mswin32/ +when /cygwin/, /mingw32/, /mswin32/, /bccwin32/ require 'test_win32' end diff --git a/ext/dl/test/test_base.rb b/ext/dl/test/test_base.rb index bf35d7a621..fc72db4e5e 100644 --- a/ext/dl/test/test_base.rb +++ b/ext/dl/test/test_base.rb @@ -8,9 +8,9 @@ when /cygwin/ when /linux/ LIBC_SO = "/lib/libc.so.6" LIBM_SO = "/lib/libm.so.6" -when /mingw/, /msvcrt/ - LIBC_SO = "C:\\WINDOWS\\system32\\msvcrt.dll" - LIBM_SO = "C:\\WINDOWS\\system32\\msvcrt.dll" +when /mingw/, /mswin32/ + LIBC_SO = "msvcrt.dll" + LIBM_SO = "msvcrt.dll" else LIBC_SO = ARGV[0] LIBM_SO = ARGV[1]