Skip to content

Commit 48e3ea5

Browse files
committed
Ensure brew-installed vips can be detected #3239
1 parent 93b2905 commit 48e3ea5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Requires libvips v8.12.2
66

7+
### v0.30.6 - TBD
8+
9+
* Ensure brew-installed `vips` can be detected (regression in 0.30.5).
10+
[#3239](https://github.com/lovell/sharp/issues/3239)
11+
712
### v0.30.5 - 23rd May 2022
813

914
* Install: pass `PKG_CONFIG_PATH` via env rather than substitution.

lib/libvips.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const globalLibvipsVersion = function () {
6868
const globalLibvipsVersion = spawnSync('pkg-config --modversion vips-cpp', {
6969
...spawnSyncOptions,
7070
env: {
71+
...env,
7172
PKG_CONFIG_PATH: pkgConfigPath()
7273
}
7374
}).stdout;

0 commit comments

Comments
 (0)