summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/-test-/win32/dln/extconf.rb9
-rw-r--r--version.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/ext/-test-/win32/dln/extconf.rb b/ext/-test-/win32/dln/extconf.rb
index f2ea8d55d8..2e52acc1d0 100644
--- a/ext/-test-/win32/dln/extconf.rb
+++ b/ext/-test-/win32/dln/extconf.rb
@@ -1,4 +1,4 @@
-if /mswin|mingw/ =~ RUBY_PLATFORM
+if $mingw or $mswin
$objs = ["dlntest.o"]
$cleanfiles << "$(topdir)/dlntest.dll"
config_string('cleanobjs') {|t| $cleanfiles.concat(t.gsub(/\$\*/, 'dlntest').split)}
@@ -9,10 +9,11 @@ if /mswin|mingw/ =~ RUBY_PLATFORM
open("Makefile", "wb") do |mf|
mf.puts m, "\n"
sodir = $extout ? "$(RUBYARCHDIR)/" : ''
- mf.print "#{sodir}$(DLLIB): dlntest.#{$LIBEXT}"
- mf.puts
- mf.puts "dlntest.#{$LIBEXT}: $(topdir)/dlntest.dll"
+ mf.print "#{sodir}$(DLLIB): $(topdir)/dlntest.dll"
mf.puts
+ if $mingw
+ mf.puts "$(topdir)/dlntest.dll: DEFFILE := $(srcdir)/libdlntest.def"
+ end
mf.puts depend_rules("$(topdir)/dlntest.dll: libdlntest.o libdlntest.def")
mf.puts "\t$(ECHO) linking shared-object $(@F)\n"
mf.print "\t-$(Q)$(RM) $@\n"
diff --git a/version.h b/version.h
index 4244aee1cf..eccd5e3b39 100644
--- a/version.h
+++ b/version.h
@@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 188
+#define RUBY_PATCHLEVEL 189
#define RUBY_RELEASE_DATE "2012-04-17"
#define RUBY_RELEASE_YEAR 2012