Skip to content

Commit

Permalink
Add help when possibly using an unsupported libc
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Dec 12, 2023
1 parent 19fa4cd commit c5eaeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sharp.js
Expand Up @@ -65,7 +65,7 @@ if (sharp) {
' npm install --force @img/sharp-wasm32'
);
}
if (isLinux && /symbol not found/i.test(messages)) {
if (isLinux && /(symbol not found|CXXABI_)/i.test(messages)) {
try {
const { engines } = require(`@img/sharp-libvips-${runtimePlatform}/package`);
const libcFound = `${familySync()} ${versionSync()}`;
Expand Down

0 comments on commit c5eaeb2

Please sign in to comment.