Skip to content

Commit ac42d3f

Browse files
committed
added node < v16 condition
1 parent 8ce7edc commit ac42d3f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

binding.gyp

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"variables": {
3+
"NODE_VERSION%":"<!(node -p \"process.versions.node.split(\\\".\\\")[0]\")"
4+
},
25
'targets': [
36
{
47
'target_name': 'bcrypt_lib',
@@ -35,6 +38,11 @@
3538
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
3639
}
3740
}],
41+
['OS=="zos" and NODE_VERSION < 16',{
42+
'cflags': [
43+
'-qascii',
44+
],
45+
}],
3846
],
3947
},
4048
{

0 commit comments

Comments
 (0)