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

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