Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
build: workaround nodejs/node#39313 for macOS
Browse files Browse the repository at this point in the history
All supported macOS versions have zlib as a system library.
  • Loading branch information
jesec committed Aug 20, 2021
1 parent a479e40 commit 925111b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/build.ts
Expand Up @@ -57,6 +57,12 @@ function getConfigureArgs(major: number, targetPlatform: string): string[] {
// Small ICU
args.push('--with-intl=small-icu');

// Workaround for nodejs/node#39313
// All supported macOS versions have zlib as a system library
if (targetPlatform === 'macos') {
args.push('--shared-zlib');
}

return args;
}

Expand Down

0 comments on commit 925111b

Please sign in to comment.