Skip to content

Conversation

@eramongodb
Copy link
Contributor

Resolves CXX-2973 by using pkgconf (obtained via uv tool) on Windows distros as followup to #1536.

Per pkgconf docs:

pkgconf is a program which helps to configure compiler and linker flags for development libraries. It is a superset of the functionality provided by pkg-config from freedesktop.org, but does not provide bug-compatibility with the original pkg-config.

and per Wikipedia:

default (instead of pkg-config) on linux and BSD distributions from many vendors, including Alpine Linux, Arch Linux, CentOS 8+, Debian, Fedora, FreeBSD, Mageia 7+, Manjaro and NetBSD.

The pkgconf project is actively maintained, with its latest release being 2.5.1 on June 2025. In contrast, the PyPI package for pkg-config has not been updated since July 2021. The pkg-config project itself has not seen any activity since January 2021, with the last stable release being 0.29.2 on March 2017. Therefore, this PR proposes adopting pkgconf as successor to pkg-config.

Following #1428, the pkgconf application can be easily obtained using uv tool install via install-build-tools.sh. Note the pkgconf package also provides a pkg-config binary alongside the pkgconf binary. Therefore, existing calls to pkg-config do not need to be changed.

@eramongodb eramongodb requested a review from kevinAlbs December 16, 2025 17:27
@eramongodb eramongodb self-assigned this Dec 16, 2025
@eramongodb eramongodb requested a review from a team as a code owner December 16, 2025 17:27
@eramongodb eramongodb merged commit a751dc6 into mongodb:master Dec 17, 2025
16 of 21 checks passed
@eramongodb eramongodb deleted the cxx-2973 branch December 17, 2025 21:08
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.

2 participants