Permalink
Browse files

disabling native extensions for Windoze

  • Loading branch information...
1 parent f9fd396 commit dd70c4e77fc91fe0f57639c9956cb40b22c3bf2f @jacek99 jacek99 committed Jul 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/extconf.rb
View
2 ext/extconf.rb 100644 → 100755
@@ -1,4 +1,4 @@
-if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/
+if (defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/) or ENV['OS'] == "Windows_NT"
File.open('Makefile', 'w'){|f| f.puts "all:\n\ninstall:\n" }
else
require 'mkmf'

0 comments on commit dd70c4e

Please sign in to comment.