File tree 2 files changed +30
-13
lines changed
2 files changed +30
-13
lines changed Original file line number Diff line number Diff line change 3
3
{
4
4
'target_name' : 'binding' ,
5
5
'includes' : ['../common.gypi' ],
6
- 'variables' : {
7
- # Skip this building on IBM i.
8
- 'aix_variant_name' : '<!(uname -s)' ,
9
- },
10
6
'conditions' : [
11
- ['node_use_openssl=="true" and '
12
- '"<(aix_variant_name)"!="OS400"' , {
13
- 'sources' : ['binding.cc' ],
14
- 'include_dirs' : ['../../../deps/openssl/openssl/include' ],
7
+ ['node_use_openssl=="true"' , {
8
+ 'conditions' : [
9
+ ['OS=="aix"' , {
10
+ 'variables' : {
11
+ # Used to differentiate `AIX` and `OS400`(IBM i).
12
+ 'aix_variant_name' : '<!(uname -s)' ,
13
+ },
14
+ 'conditions' : [
15
+ [ '"<(aix_variant_name)"!="OS400"' , { # Not `OS400`(IBM i)
16
+ 'sources' : ['binding.cc' ],
17
+ 'include_dirs' : ['../../../deps/openssl/openssl/include' ],
18
+ }],
19
+ ],
20
+ }, {
21
+ 'sources' : ['binding.cc' ],
22
+ 'include_dirs' : ['../../../deps/openssl/openssl/include' ],
23
+ }],
24
+ ],
15
25
}],
16
26
['OS=="mac"' , {
17
27
'xcode_settings' : {
Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
- 'variables' : {
6
- # Skip this building on IBM i.
7
- 'aix_variant_name' : '<!(uname -s)' ,
8
- },
9
5
'conditions' : [
10
- [ '"<(aix_variant_name)"!="OS400"' , {
6
+ ['OS=="aix"' , {
7
+ 'variables' : {
8
+ # Used to differentiate `AIX` and `OS400`(IBM i).
9
+ 'aix_variant_name' : '<!(uname -s)' ,
10
+ },
11
+ 'conditions' : [
12
+ [ '"<(aix_variant_name)"!="OS400"' , { # Not `OS400`(IBM i)
13
+ 'sources' : ['binding.cc' ],
14
+ 'include_dirs' : ['../../../deps/zlib' ],
15
+ }],
16
+ ],
17
+ }, {
11
18
'sources' : ['binding.cc' ],
12
19
'include_dirs' : ['../../../deps/zlib' ],
13
20
}],
You can’t perform that action at this time.
0 commit comments