mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Remove daemons dependency when cross-compiling.
This commit is contained in:
parent
2603d479e6
commit
334305c61a
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ Rake::ExtensionTask.new('http11', HOE.spec) do |ext|
|
|||
unless RUBY_PLATFORM =~ /mingw|mswin/ then
|
||||
ext.cross_compile = true
|
||||
ext.cross_platform = ['i386-mswin32', 'i386-mingw32']
|
||||
|
||||
ext.cross_compiling do |gs|
|
||||
gs.dependencies.delete gs.dependencies.find { |d| d.name == 'daemons' }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue