Skip to content

Commit 304b5a9

Browse files
committed
By-pass shell script checking tool on Windows
1 parent 0129877 commit 304b5a9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

binding.gyp

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
'variables':
3-
{
4-
'shared%': '<!(node ./util/has_lib.js)'
5-
},
62
'conditions':
73
[
8-
['shared=="true" or OS=="win"', {
4+
['OS=="win"', {
5+
'variables': {'shared%': 'true'}
6+
}, {
7+
'variables': {'shared%': '<!(node ./util/has_lib.js)'}
8+
}],
9+
['shared=="true"', {
910
'includes': ['shared.gypi']
1011
}, {
1112
'includes': ['static.gypi']

0 commit comments

Comments
 (0)