Skip to content

Conversation

@tillrohrmann
Copy link

This PR fixes the library path for sasl2 and libz since both crates produce the artifacts in /lib. Additionally, it adds the libsasl2.pc to the pkg-config path because librdkafka only uses pkg-config to locate the sasl2 library. With these changes it is possible to build rdkafka for a musl target.

This PR is a rebased version of #806.

@tillrohrmann
Copy link
Author

@fede1024 could you please help me moving this PR forward. This is currently preventing us from getting rid of our rust-rdkafka fork.

@BIHB
Copy link

BIHB commented Jan 8, 2026

We have the same problem.
Thanks for your PR!
@fede1024 Can you please take a look at it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants