help wantedmacos
仓库指标
- 星标
- (1,882 个星标)
- PR 合并指标
- (平均合并 1天 20小时) (30 天内合并 345 个 PR)
描述
Expected Behavior
When providing custom PKG_CONFIG_PATH variable dependencies
Actual Behavior
PKG_CONFIG_PATH is ignored in favor of brew https://github.com/ocaml/dune/blob/main/otherlibs/configurator/src/v1.ml
Reproduction
- Get a mac
- Add a folder with custom pkg-config, e.g. vcpkg install libpng
- Run PKG_CONFIG= dune build
- Observe error
Specifications
- Version of
dune(output ofdune --version): 3.16.0 - Version of
ocaml(output ofocamlc --version): 5.2.0 - Operating system (distribution and version): MacOS 14.5
Additional information
Despite the code looks correct it is for some reason still not running, would be also good to log the modified PKG_CONFIG_PATH