run-npm-install (#44)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m30s
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m30s
Reviewed-on: #44
This commit was merged in pull request #44.
This commit is contained in:
32
node_modules/bufferutil/binding.gyp
generated
vendored
Normal file
32
node_modules/bufferutil/binding.gyp
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
'variables': {
|
||||
'openssl_fips': ''
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'bufferutil',
|
||||
'sources': ['src/bufferutil.c'],
|
||||
'cflags': ['-std=c99'],
|
||||
'conditions': [
|
||||
["OS=='mac'", {
|
||||
'variables': {
|
||||
'clang_version':
|
||||
'<!(cc -v 2>&1 | perl -ne \'print $1 if /clang version ([0-9]+(\\.[0-9]+){2,})/\')'
|
||||
},
|
||||
'xcode_settings': {
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.7'
|
||||
},
|
||||
'conditions': [
|
||||
# Use Perl v-strings to compare versions.
|
||||
['clang_version and <!(perl -e \'print <(clang_version) cmp 12.0.0\')==1', {
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': ['-arch arm64'],
|
||||
'OTHER_LDFLAGS': ['-arch arm64']
|
||||
}
|
||||
}]
|
||||
]
|
||||
}]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user