mirror of https://github.com/python/cpython
[3.13] gh-121467: Fix makefile to include mimalloc headers (GH-121469) (#121471)
gh-121467: Fix makefile to include mimalloc headers (GH-121469)
(cherry picked from commit 5aa1e60e0c
)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
parent
2b02431dd1
commit
78437b74ad
|
@ -2650,7 +2650,7 @@ inclinstall:
|
|||
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal; \
|
||||
else true; \
|
||||
fi
|
||||
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
|
||||
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
|
||||
if test ! -d $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; then \
|
||||
echo "Creating directory $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc"; \
|
||||
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; \
|
||||
|
@ -2671,7 +2671,7 @@ inclinstall:
|
|||
echo $(INSTALL_DATA) $$i $(INCLUDEPY)/internal; \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal; \
|
||||
done
|
||||
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
|
||||
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
|
||||
echo $(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
|
||||
$(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
|
||||
for i in $(srcdir)/Include/internal/mimalloc/mimalloc/*.h; \
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix a Makefile bug that prevented mimalloc header files from being installed.
|
Loading…
Reference in New Issue