Skip to content

Commit

Permalink
Ensure brew-installed vips can be detected #3239
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed May 26, 2022
1 parent 93b2905 commit 48e3ea5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.md
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions lib/libvips.js
Expand Up @@ -68,6 +68,7 @@ const globalLibvipsVersion = function () {
const globalLibvipsVersion = spawnSync('pkg-config --modversion vips-cpp', {
...spawnSyncOptions,
env: {
...env,
PKG_CONFIG_PATH: pkgConfigPath()
}
}).stdout;
Expand Down

0 comments on commit 48e3ea5

Please sign in to comment.