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

Try finding OpenSSL using pkg-config first on macOS. #17250

Merged
merged 1 commit into from Mar 26, 2024

Conversation

Ferroin
Copy link
Member

@Ferroin Ferroin commented Mar 25, 2024

Summary

This is required to work correctly in Homebrew, as building within Homebrew does not allow using Homebrew commands, but does generally provide a properly working pkg-config setup.

Test Plan

Preliminary testing involves confirming that CI passes on this PR.

Subsequent testing requires confirming that the build works within Homebrew.

Additional Information

Fixes: #17242

This is required to work correctly in Homebrew, as building within
Homebrew does not allow using Homebrew commands, but does generally
provide a properly working pkg-config setup.
@github-actions github-actions bot added the area/build Build system (autotools and cmake). label Mar 25, 2024
@Ferroin Ferroin marked this pull request as ready for review March 25, 2024 15:26
@Ferroin Ferroin merged commit 67549f4 into netdata:master Mar 26, 2024
142 of 144 checks passed
@stelfrag stelfrag mentioned this pull request Mar 26, 2024
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Mar 26, 2024
This is required to work correctly in Homebrew, as building within
Homebrew does not allow using Homebrew commands, but does generally
provide a properly working pkg-config setup.

(cherry picked from commit 67549f4)
@Ferroin Ferroin deleted the macos-openssl-fix branch March 26, 2024 11:07
Ferroin added a commit that referenced this pull request Mar 27, 2024
This is required to work correctly in Homebrew, as building within
Homebrew does not allow using Homebrew commands, but does generally
provide a properly working pkg-config setup.

(cherry picked from commit 67549f4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build system (autotools and cmake).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: homebrew build: Mac CMakeLists.txt assumes brew --prefix command
2 participants