ext/Rakefile in rdkafka-0.4.0 vs ext/Rakefile in rdkafka-0.4.1
- old
+ new
@@ -19,10 +19,13 @@
end
end
# Download and compile librdkafka
recipe = MiniPortile.new("librdkafka", Rdkafka::LIBRDKAFKA_VERSION)
- recipe.files = ["https://codeload.github.com/edenhill/librdkafka/tar.gz/v#{Rdkafka::LIBRDKAFKA_VERSION}"]
+ recipe.files << {
+ :url => "https://codeload.github.com/edenhill/librdkafka/tar.gz/v#{Rdkafka::LIBRDKAFKA_VERSION}",
+ :sha256 => Rdkafka::LIBRDKAFKA_SOURCE_SHA256
+ }
recipe.configure_options = ["--host=#{recipe.host}"]
recipe.cook
# Move dynamic library we're interested in
if recipe.host.include?('darwin')
from_extension = '1.dylib'