gh-39936: Fix pyconfig.h installation path with --includedir

This commit is contained in:
Shamil Abdulaev 2025-11-18 13:35:04 +03:00
parent b87613f214
commit dd1776eee5
No known key found for this signature in database
GPG key ID: F9F7726024C005E7
2 changed files with 5 additions and 1 deletions

View file

@ -156,7 +156,7 @@ BINDIR= @bindir@
LIBDIR= @libdir@
MANDIR= @mandir@
INCLUDEDIR= @includedir@
CONFINCLUDEDIR= $(exec_prefix)/include
CONFINCLUDEDIR= $(INCLUDEDIR)
PLATLIBDIR= @PLATLIBDIR@
SCRIPTDIR= $(prefix)/$(PLATLIBDIR)
# executable name for shebangs

View file

@ -0,0 +1,4 @@
Fixed ``pyconfig.h`` installation to respect ``--includedir`` configure option.
Previously, ``pyconfig.h`` was always installed to ``$(exec_prefix)/include``
instead of the directory specified by ``--includedir``.
Patch by Shamil Abdulaev.