mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Prebuilt libvips v8.10.6 binaries work with musl 1.1.x and 1.2.x
This commit is contained in:
@@ -101,7 +101,7 @@ try {
|
||||
}
|
||||
}
|
||||
if (detectLibc.family === detectLibc.MUSL && detectLibc.version) {
|
||||
if (!semver.satisfies(detectLibc.version, '>=1.1.24 <1.2.0')) {
|
||||
if (semver.lt(detectLibc.version, '1.1.24')) {
|
||||
throw new Error(`Use with musl ${detectLibc.version} requires manual installation of libvips >= ${minimumLibvipsVersion}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user