mirror of https://github.com/python/cpython
gh-121467: Fix makefile to include mimalloc headers (#121469)
This commit is contained in:
parent
c8669489d4
commit
5aa1e60e0c
|
@ -2652,7 +2652,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; \
|
||||||
|
@ -2673,7 +2673,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…
Reference in New Issue