Skip to content

pkg-config should look for headers in include root#66

Merged
rdmark merged 1 commit into
mainfrom
pkgconfig-include-dir
Oct 27, 2025
Merged

pkg-config should look for headers in include root#66
rdmark merged 1 commit into
mainfrom
pkgconfig-include-dir

Conversation

@rdmark

@rdmark rdmark commented Oct 16, 2025

Copy link
Copy Markdown
Collaborator

Since meson installs the bstring headers directly into the include dir, the pkg-config file should also point to the root include dir rather than a bstring subdir

This fixes a mismatch that existed since the meson build system was introduced for this library

Since meson installs the bstring headers directly into the include dir, the pkg-config file should also point to the root include dir rather than a bstring subdir

This fixes a mismatch that existed since the meson build system was introduced for this library
@sonarqubecloud

Copy link
Copy Markdown

@rdmark
rdmark requested a review from msteinert October 16, 2025 20:37
@github-actions

Copy link
Copy Markdown

File Coverage Lines Branches
All files 68% 73% 63%
bstring/bstraux.c 55% 64% 46%
bstring/bstrlib.c 73% 76% 69%

Minimum allowed coverage is 50%

Generated by 🐒 cobertura-action against 03830c6

@rdmark

rdmark commented Oct 17, 2025

Copy link
Copy Markdown
Collaborator Author

@msteinert With this fix, I think it's worth tagging a new release. It effectively makes it impossible to use the packaged library's development headers, which I encountered first hand with the macOS homebrew formula yesterday.

@rdmark

rdmark commented Oct 17, 2025

Copy link
Copy Markdown
Collaborator Author

Also, this release might be the opportunity to flag the Autotools build system as deprecated so that we can remove it in a subsequent version!

@rdmark

rdmark commented Oct 25, 2025

Copy link
Copy Markdown
Collaborator Author

@msteinert ...but if you're preoccupied for the foreseeable future, I'm happy to self-merge these two trivial PRs and cut a release myself :)

@rdmark
rdmark merged commit 3c24b59 into main Oct 27, 2025
18 checks passed
@rdmark
rdmark deleted the pkgconfig-include-dir branch November 1, 2025 12:24
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