mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[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
2 changed files with 3 additions and 2 deletions
|
@ -2650,7 +2650,7 @@ inclinstall:
|
||||||
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal; \
|
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal; \
|
||||||
else true; \
|
else true; \
|
||||||
fi
|
fi
|
||||||
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
|
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
|
||||||
if test ! -d $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; then \
|
if test ! -d $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; then \
|
||||||
echo "Creating directory $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc"; \
|
echo "Creating directory $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc"; \
|
||||||
$(INSTALL) -d -m $(DIRMODE) $(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; \
|
echo $(INSTALL_DATA) $$i $(INCLUDEPY)/internal; \
|
||||||
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal; \
|
||||||
done
|
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; \
|
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; \
|
$(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
|
||||||
for i in $(srcdir)/Include/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…
Add table
Add a link
Reference in a new issue