mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-134455: Fix build-details.json
to use the `c_api.headers
` key (#134456)
Fix `build-details.json` generation to use the correct `c_api.headers`
key as defined in PEP 739, instead of `c_api.include`.
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
This commit is contained in:
parent
458e33018a
commit
d706eb9e0f
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
Fixed ``build-details.json`` generation to use the correct ``c_api.headers``
|
||||
as defined in :pep:`739`, instead of ``c_api.include``.
|
|
@ -123,7 +123,7 @@ def generate_data(schema_version: str) -> collections.defaultdict[str, Any]:
|
|||
if has_static_library:
|
||||
data['libpython']['static'] = os.path.join(LIBDIR, LIBRARY)
|
||||
|
||||
data['c_api']['include'] = INCLUDEDIR
|
||||
data['c_api']['headers'] = INCLUDEDIR
|
||||
if LIBPC:
|
||||
data['c_api']['pkgconfig_path'] = LIBPC
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue