Rakefile: fix building with rake v12.0.0 (part of Ruby 2.4.0)

Fixes #1851.
This commit is contained in:
Moritz Bunkus 2017-01-07 16:29:15 +01:00
parent f8a7f90ee0
commit 8261d09ca1

View File

@ -231,7 +231,9 @@ namespace :apps do
end
# Store compiler block for re-use
cxx_compiler = lambda do |t|
cxx_compiler = lambda do |*args|
t = args.first
create_dependency_dirs
source = t.source ? t.source : t.prerequisites.first