Skip to content

Commit

Permalink
- require libvips 8.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
elad laufer committed Nov 20, 2021
1 parent 7b73dee commit d700ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vips/govips.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func Startup(config *Config) {
panic("govips requires libvips version 8.10+")
}

if C.VIPS_MAJOR_VERSION == 8 && C.VIPS_MINOR_VERSION < 10 {
panic("govips requires libvips version 8.10+")
if C.VIPS_MAJOR_VERSION == 8 && C.VIPS_MINOR_VERSION < 11 {
panic("govips requires libvips version 8.11+")
}

cName := C.CString("govips")
Expand Down

0 comments on commit d700ea7

Please sign in to comment.