Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1092

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cymulatereouven
Copy link

No description provided.

@cymulatereouven
Copy link
Author

Pull Request Description
Summary
This PR updates the documentation to include specific instructions for building node-rdkafka on Mac M1 systems with OpenSSL. Previously, the documentation only provided instructions for Mac OS High Sierra and Mojave users. The new section ensures compatibility with M1 chip architecture by adjusting the environment variables to correctly link OpenSSL.

Changes:
Added OpenSSL linker flags for Mac M1 in the documentation.
The following environment variables should be used on Mac M1 systems:
sh
Copy code
export CPPFLAGS=-I/opt/homebrew/opt/openssl@3/include
export LDFLAGS=-L/opt/homebrew/opt/openssl@3/lib
Context
Mac M1 users encountered issues when building node-rdkafka due to differences in OpenSSL library locations. This update ensures proper linking for users working on M1 systems with Homebrew-installed OpenSSL.

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.

1 participant