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

Use --modversion instead of --exists to check library is installed #342

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

graymalkin
Copy link
Contributor

pkg-config --exists also checks dependencies are present on macOS, and due to some packaging issues with upstream libarchive this is breaking the build for cheribsd and freebsd.

Closes #340.

See Homebrew/homebrew-core#120526 for tracking of this issue as it relates to macOS.

pkg-config --exists also checks dependencies are present on macOS, and
due to some packaging issues with upstream libarchive this is breaking
the build for cheribsd and freebsd.

Closes CTSRD-CHERI#340.

See Homebrew/homebrew-core#120526 for
tracking of this issue as it relates to macOS.
Copy link
Member

@arichardson arichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I'm not convinced checking for the dependencies is useful, and this change will make it easier to add "minimum pkg-config version" checks in the future.

@arichardson arichardson merged commit aa5b86e into CTSRD-CHERI:main Jan 17, 2023
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.

Failing freebsd and cheribsd builds on macOS. pkg-config --exists libarchive
2 participants