Skip to content

Commit

Permalink
Backport fix for rdkafka 0.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Senjai committed Jul 10, 2024
1 parent eff2784 commit 9f98b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added dist/librdkafka_2.3.0.tar.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion ext/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ task :default => :clean do
ENV["LDFLAGS"] = "-L#{homebrew_prefix}/lib" unless ENV["LDFLAGS"]
end

releases = File.expand_path(File.join(File.dirname(__FILE__), '../dist'))
recipe.files << {
:url => "https://codeload.github.com/edenhill/librdkafka/tar.gz/v#{Rdkafka::LIBRDKAFKA_VERSION}",
:url => "file://#{releases}/librdkafka_#{Rdkafka::LIBRDKAFKA_VERSION}.tar.gz",
:sha256 => Rdkafka::LIBRDKAFKA_SOURCE_SHA256
}
recipe.configure_options = ["--host=#{recipe.host}"]
Expand Down

0 comments on commit 9f98b0d

Please sign in to comment.