Skip to content

Commit d8177b8

Browse files
committed
windows: properly emit array for all extensions
This wasn't changed to support extension variants.
1 parent d1d46cb commit d8177b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpython-windows/build.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,13 +1330,14 @@ def build_cpython(pgo=False):
13301330
log('built-in extension should not have a build entry: %s' % ext)
13311331
sys.exit(1)
13321332

1333-
build_info['extensions'][ext] = {
1333+
build_info['extensions'][ext] = [{
13341334
'in_core': True,
13351335
'objs': [],
13361336
'init_fn': init_fn,
13371337
'links': [],
13381338
'static_lib': None,
1339-
}
1339+
'variant': 'default',
1340+
}]
13401341

13411342
# Copy OpenSSL libraries as a one-off.
13421343
for lib in ('crypto', 'ssl'):

0 commit comments

Comments
 (0)