Skip to content

Commit

Permalink
Merge pull request #968 from laijonathan/zos_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
recrsn authored Oct 29, 2022
2 parents 0884c5b + fd00ae0 commit 11d2ddd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"variables": {
"NODE_VERSION%":"<!(node -p \"process.versions.node.split(\\\".\\\")[0]\")"
},
'targets': [
{
'target_name': 'bcrypt_lib',
Expand Down Expand Up @@ -35,10 +38,11 @@
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
}
}],
[ 'OS=="zos"', {
'cflags': [
'-qascii',
],
['OS=="zos" and NODE_VERSION <= 16',{
'cflags': [
'-qascii',
],
'defines': ["NAPI_DISABLE_CPP_EXCEPTIONS"],
}],
],
},
Expand Down

0 comments on commit 11d2ddd

Please sign in to comment.