1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Remove cross reporting workarounds since rack-compiler 0.8.0 fixes them

This commit is contained in:
Evan Phoenix 2012-01-08 17:53:15 -08:00
parent a80eaf4d03
commit a47cc0eae7

View file

@ -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
@ -74,11 +74,9 @@ 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
end
# the following is a fat-binary stub that will be used when
# require 'puma/puma_http11' and will use either 1.8 or 1.9 version depending