build: workaround nodejs/node#39313 for macOS
All supported macOS versions have zlib as a system library.
This commit is contained in:
parent
a479e40365
commit
925111ba5e
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user