Skip to content

Commit cfdee83

Browse files
committed
windows issue wip
1 parent 08a1c76 commit cfdee83

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

deps/base64/base64.gyp

+19
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
'direct_dependent_settings': {
1212
'include_dirs': [ 'base64/include' ],
1313
},
14+
'defines': [
15+
'BASE64_STATIC_DEFINE=1',
16+
],
1417
'sources': [
1518
'base64/include/libbase64.h',
1619
'base64/lib/arch/generic/codec.c',
@@ -124,6 +127,14 @@
124127
'xcode_settings': {
125128
'OTHER_CFLAGS': [ '-mavx' ]
126129
},
130+
}, {
131+
'msvs_settings': {
132+
'VCCLCompilerTool': {
133+
'AdditionalOptions': [
134+
'/arch:AVX'
135+
],
136+
},
137+
},
127138
}],
128139
],
129140
},
@@ -140,6 +151,14 @@
140151
'xcode_settings': {
141152
'OTHER_CFLAGS': [ '-mavx2' ]
142153
},
154+
}, {
155+
'msvs_settings': {
156+
'VCCLCompilerTool': {
157+
'AdditionalOptions': [
158+
'/arch:AVX2'
159+
],
160+
},
161+
},
143162
}],
144163
],
145164
},

0 commit comments

Comments
 (0)