conda-forge / conda-forge/conda-forge.github.io

pkg-config Requires.private and removal of static libraries

Open
#1,880 25 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
170
Forks
320
Avg merge
2d 10h
Merged PRs (30d)
5

Description

### Your question:

There has been a trend at conda-forge to remove static libraries and to split off runtime libraries from build time dependencies in order to save download space.

There has also been a combined trend to add `pkgconfig` files to enable more packages that were historically built only for linux, be able to get built for windows.

However, the inclusion of the `Requires.private` flag in the pkgconfig files makes it necessary to add back build time dependencies in order to "help the static builds" (see the last FAQ question in https://people.freedesktop.org/~dbn/pkg-config-guide.html)

I'm really not sure what to do about this. For example, many users have had to add back zlib as a host dependency (when their software doesn't link to it directly).

Second, the glib -> harfbuzz dependency is also a tough one to manage.

Thank you for your advice.

xref: https://github.com/conda-forge/zlib-feedstock/issues/69

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.