Skip to content

Commit 59f27da

Browse files
committed
Fix common.gypi
1 parent 151a914 commit 59f27da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'variables': {
3-
'NAPI_VERSION%': "<!(node -p \"process.env['NAPI_VERSION'] || process.versions.napi\")",
3+
'NAPI_VERSION%': "<!(node -p \"process.versions.napi\")",
44
'disable_deprecated': "<!(node -p \"process.env['npm_config_disable_deprecated']\")"
55
},
66
'conditions': [
@@ -15,7 +15,7 @@
1515
}
1616
}]
1717
],
18-
'include_dirs': ["<!@(node -p \"require('../').include\")"],
18+
'include_dirs': ["<!(node -p \"require('../').include_dir\")"],
1919
'cflags': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ],
2020
'cflags_cc': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ]
2121
}

0 commit comments

Comments
 (0)