mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-39936: Fix pyconfig.h installation path with --includedir
This commit is contained in:
parent
b87613f214
commit
dd1776eee5
2 changed files with 5 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ BINDIR= @bindir@
|
||||||
LIBDIR= @libdir@
|
LIBDIR= @libdir@
|
||||||
MANDIR= @mandir@
|
MANDIR= @mandir@
|
||||||
INCLUDEDIR= @includedir@
|
INCLUDEDIR= @includedir@
|
||||||
CONFINCLUDEDIR= $(exec_prefix)/include
|
CONFINCLUDEDIR= $(INCLUDEDIR)
|
||||||
PLATLIBDIR= @PLATLIBDIR@
|
PLATLIBDIR= @PLATLIBDIR@
|
||||||
SCRIPTDIR= $(prefix)/$(PLATLIBDIR)
|
SCRIPTDIR= $(prefix)/$(PLATLIBDIR)
|
||||||
# executable name for shebangs
|
# executable name for shebangs
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue