File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 11{
22 'variables' : {
33 'cargo_vendor_dir' : './vendor' ,
4+ 'node_crates_libpath' : '<(SHARED_INTERMEDIATE_DIR)/>(cargo_build_mode)/<(STATIC_LIB_PREFIX)node_crates<(STATIC_LIB_SUFFIX)' ,
45 },
56 'targets' : [
67 {
1415 ],
1516 'link_settings' : {
1617 'libraries' : [
17- '<(SHARED_INTERMEDIATE_DIR)/>(cargo_build_mode)/libnode_crates.a ' ,
18+ '<(node_crates_libpath) ' ,
1819 ],
1920 },
2021 'actions' : [
2425 '<@(_sources)'
2526 ],
2627 'outputs' : [
27- '<(SHARED_INTERMEDIATE_DIR)/>(cargo_build_mode)/libnode_crates.a '
28+ '<(node_crates_libpath) '
2829 ],
2930 'action' : [
3031 'cargo' ,
4950 '<(cargo_vendor_dir)/temporal_capi/bindings/cpp' ,
5051 ],
5152 },
53+ 'conditions' : [
54+ ['OS=="win"' , {
55+ 'direct_dependent_settings' : {
56+ 'link_settings' : {
57+ 'libraries' : [
58+ '-lntdll' ,
59+ '-luserenv'
60+ ],
61+ },
62+ },
63+ }],
64+ ],
5265 },
5366 ]
5467}
You can’t perform that action at this time.
0 commit comments