Ensure brew-installed vips can be detected #3239

This commit is contained in:
Lovell Fuller 2022-05-26 22:58:24 +01:00
parent 93b29057e4
commit 48e3ea5e29
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,11 @@
Requires libvips v8.12.2
### v0.30.6 - TBD
* Ensure brew-installed `vips` can be detected (regression in 0.30.5).
[#3239](https://github.com/lovell/sharp/issues/3239)
### v0.30.5 - 23rd May 2022
* Install: pass `PKG_CONFIG_PATH` via env rather than substitution.

View File

@ -68,6 +68,7 @@ const globalLibvipsVersion = function () {
const globalLibvipsVersion = spawnSync('pkg-config --modversion vips-cpp', {
...spawnSyncOptions,
env: {
...env,
PKG_CONFIG_PATH: pkgConfigPath()
}
}).stdout;