Skip to content

Commit

Permalink
Remove cross reporting workarounds since rack-compiler 0.8.0 fixes them
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Jan 9, 2012
1 parent a80eaf4 commit a47cc0e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Rake::ExtensionTask.new("puma_http11", HOE.spec) do |ext|
# place extension inside namespace
ext.lib_dir = "lib/puma"

ext.cross_compile = !!ENV['CROSS']
ext.cross_compile = true
ext.cross_platform = ['i386-mswin32-60', 'i386-mingw32']
ext.cross_compiling do |spec|
# add fat-binary stub only when cross compiling
Expand All @@ -74,10 +74,8 @@ Rake::ExtensionTask.new("puma_http11", HOE.spec) do |ext|
end

# Java (JRuby)
if defined? JRUBY_VERSION
Rake::JavaExtensionTask.new("puma_http11", HOE.spec) do |ext|
ext.lib_dir = "lib/puma"
end
Rake::JavaExtensionTask.new("puma_http11", HOE.spec) do |ext|
ext.lib_dir = "lib/puma"
end

# the following is a fat-binary stub that will be used when
Expand Down

0 comments on commit a47cc0e

Please sign in to comment.