Skip to content

Commit 0456c39

Browse files
committed
windows build
1 parent 4ad41b0 commit 0456c39

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/xtracfg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
defaults:
145145
run:
146146
working-directory: ./xtracfg
147+
shell: bash
147148
steps:
148149
- uses: actions/checkout@v4
149150
- uses: actions/setup-go@v5

libxtracfg/js/xtracfg-native-binding/binding.gyp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@
1919
'VCCLCompilerTool': {
2020
'RuntimeLibrary': 2, # /MD
2121
'ExceptionHandling': 1,
22+
'AdditionalOptions': [
23+
'/MD',
24+
'/EHsc',
25+
],
2226
},
2327
'VCLinkerTool': {
2428
'IgnoreDefaultLibraryNames': [ 'LIBCMT' ],
2529
'AdditionalOptions': [
26-
'/WHOLEARCHIVE:<(local_prefix)/../c/build/libxtracfg.lib',
27-
],
30+
'/WHOLEARCHIVE:<(local_prefix)/../c/build/libxtracfg.lib',
31+
],
2832
},
2933
},
3034
'conditions': [

0 commit comments

Comments
 (0)