File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
libxtracfg/js/xtracfg-native-binding Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 33 {
44 'target_name' : 'xtracfg-native' ,
55 'sources' : [ 'src/xtracfg_lib.cc' ],
6- 'libraries' : [ '<(local_prefix)/../c/build/libxtracfg.a' ],
76 'include_dirs' : ["<!@(node -p \" require('node-addon-api').include\" )" , "<(local_prefix)/../c/include" ],
87 'dependencies' : ["<!(node -p \" require('node-addon-api').gyp\" )" ],
98 'cflags' : ['-fPIC' ],
2019 'VCCLCompilerTool' : { 'ExceptionHandling' : 1 },
2120 }
2221 }
22+ ],
23+ 'conditions' : [
24+ ['OS=="win"' , {
25+ 'targets' : [
26+ {
27+ 'libraries' : [ '<(local_prefix)/../c/build/libxtracfg.lib' ]
28+ },
29+ ],
30+ }, { # OS != "win"
31+ 'targets' : [
32+ {
33+ 'libraries' : [ '<(local_prefix)/../c/build/libxtracfg.a' ]
34+ },
35+ }],
2336 ]
2437}
You can’t perform that action at this time.
0 commit comments