Skip to content

Commit

Permalink
added node < v16 condition
Browse files Browse the repository at this point in the history
  • Loading branch information
laijonathan committed Sep 30, 2022
1 parent 8ce7edc commit ac42d3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 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,6 +38,11 @@
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
}
}],
['OS=="zos" and NODE_VERSION < 16',{
'cflags': [
'-qascii',
],
}],
],
},
{
Expand Down

0 comments on commit ac42d3f

Please sign in to comment.