Permalink
Browse files

Stop compilation of native code on cygwin

  • Loading branch information...
duckpuppy committed Dec 7, 2011
1 parent 39707bc commit 146a3e665924e76aa45cd2c725dd5a978a74cc8e
Showing with 2 additions and 2 deletions.
  1. +1 −1 ext/extconf.rb
  2. +1 −1 lib/posix/spawn.rb
View
@@ -3,7 +3,7 @@
# warnings save lives
$CFLAGS << " -Wall "
-if RUBY_PLATFORM =~ /(mswin|mingw|bccwin)/
+if RUBY_PLATFORM =~ /(mswin|mingw|cygwin|bccwin)/
File.open('Makefile','w'){|f| f.puts "default: \ninstall: " }
else
create_makefile('posix_spawn_ext')
View
@@ -1,4 +1,4 @@
-unless RUBY_PLATFORM =~ /(mswin|mingw|bccwin)/
+unless RUBY_PLATFORM =~ /(mswin|mingw|cygwin|bccwin)/
require 'posix_spawn_ext'
end

0 comments on commit 146a3e6

Please sign in to comment.