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

pkg-config Requires.private and removal of static libraries

未关闭
#1,880 25 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
JavaScript
星标
170
派生
320
平均合并
2 天 10 小时
30 天内合并 PR
5

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。