Skip to content

Commit 59cb829

Browse files
miss-islingtonmgornyFFY00
authored
[3.14] gh-134455: Fix build-details.json to use the c_api.headers key (GH-134456) (#134504)
Co-authored-by: Michał Górny <[email protected]> Co-authored-by: Filipe Laíns 🇵🇸 <[email protected]>
1 parent db98e0b commit 59cb829

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed ``build-details.json`` generation to use the correct ``c_api.headers``
2+
as defined in :pep:`739`, instead of ``c_api.include``.

Tools/build/generate-build-details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def generate_data(schema_version: str) -> collections.defaultdict[str, Any]:
123123
if has_static_library:
124124
data['libpython']['static'] = os.path.join(LIBDIR, LIBRARY)
125125

126-
data['c_api']['include'] = INCLUDEDIR
126+
data['c_api']['headers'] = INCLUDEDIR
127127
if LIBPC:
128128
data['c_api']['pkgconfig_path'] = LIBPC
129129

0 commit comments

Comments
 (0)