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

v/pkgconfig: add pkgconfig path for FreeBSD base packages #21151

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

kimshrier
Copy link
Contributor

For 3rd party software that is part of the base FreeBSD install, their pkg-config files are in /usr/libdata/pkgconfig.

This path was not in the set of default pkgconfig paths. As a result, if a module relied upon some library or include file from the base system, even as an indirect dependency, it would not be found.

I added the base path after the path for pkgconfig files that are from installing packages or ports so that packages or ports would be found preferentially over ones in the base system. For example, if a newer version of openssl was installed via the pkg command or as a port, it would be found instead of the one from the base install.

@spytheman spytheman merged commit 5bccaca into vlang:master Mar 31, 2024
42 checks passed
@kimshrier kimshrier deleted the add_freebsd_pkgconfig_path branch April 12, 2024 04:53
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.

None yet

2 participants