Skip to content

Commit 1187a3a

Browse files
maybe
1 parent 1007844 commit 1187a3a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

binding.gyp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
]
2424
},
2525
'include_dirs': [
26+
"<!(node -p \"require('node-addon-api').include_dir\")",
2627
'<(module_root_dir)/deps/zstd/include'
2728
],
2829
},
@@ -32,11 +33,11 @@
3233
'<(module_root_dir)/deps/zstd/build/cmake/lib/libzstd.a',
3334
]
3435
},
36+
'include_dirs': [
37+
"<!(node -p \"require('node-addon-api').include_dir\")",
38+
"<(module_root_dir)/deps/zstd/lib",
39+
],
3540
},
36-
'include_dirs': [
37-
"<!(node -p \"require('node-addon-api').include_dir\")",
38-
"<(module_root_dir)/deps/zstd/lib",
39-
],
4041
],
4142
['OS=="mac"', {
4243
'xcode_settings': {

0 commit comments

Comments
 (0)