Skip to content

Commit

Permalink
Add support for Solus OS (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekremkaraca authored and lovell committed Jun 24, 2017
1 parent ec617f2 commit f637397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding.js
Expand Up @@ -73,7 +73,7 @@ module.exports.download_vips = function () {
// Ensure glibc >= 2.15
const lddVersion = process.env.LDD_VERSION;
if (lddVersion) {
if (/(glibc|gnu libc|gentoo)/i.test(lddVersion)) {
if (/(glibc|gnu libc|gentoo|solus)/i.test(lddVersion)) {
const glibcVersion = lddVersion ? lddVersion.split(/\n/)[0].split(' ').slice(-1)[0].trim() : '';
if (glibcVersion && semver.lt(glibcVersion + '.0', '2.13.0')) {
error('glibc version ' + glibcVersion + ' requires manual installation - please see http://sharp.dimens.io/en/stable/install/');
Expand Down

0 comments on commit f637397

Please sign in to comment.