Dial back the required libc version to 2.13

This commit is contained in:
Andreas Lind 2015-11-17 17:31:27 +01:00
parent d9c754f5c1
commit c0be4f1307

View File

@ -62,7 +62,7 @@ module.exports.download_vips = function() {
var lddVersion = process.env.LDD_VERSION; var lddVersion = process.env.LDD_VERSION;
if (lddVersion) { if (lddVersion) {
var libcVersion = lddVersion ? lddVersion.split(/\n/)[0].split(' ').slice(-1)[0].trim() : ''; var libcVersion = lddVersion ? lddVersion.split(/\n/)[0].split(' ').slice(-1)[0].trim() : '';
if (libcVersion && semver.lt(libcVersion + '.0', '2.15.0')) { if (libcVersion && semver.lt(libcVersion + '.0', '2.13.0')) {
error('libc version ' + libcVersion + ' requires manual installation - please see http://sharp.dimens.io/en/stable/install/'); error('libc version ' + libcVersion + ' requires manual installation - please see http://sharp.dimens.io/en/stable/install/');
} }
} }