Skip to content

Commit 8aae7e1

Browse files
committed
Install mimalloc headers
1 parent a3cf0fa commit 8aae7e1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile.pre.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,11 @@ inclinstall:
25812581
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal; \
25822582
else true; \
25832583
fi
2584+
@if test ! -d $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; then \
2585+
echo "Creating directory $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc"; \
2586+
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; \
2587+
else true; \
2588+
fi
25842589
@for i in $(srcdir)/Include/*.h; \
25852590
do \
25862591
echo $(INSTALL_DATA) $$i $(INCLUDEPY); \
@@ -2596,6 +2601,12 @@ inclinstall:
25962601
echo $(INSTALL_DATA) $$i $(INCLUDEPY)/internal; \
25972602
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal; \
25982603
done
2604+
$(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc
2605+
@for i in $(srcdir)/Include/internal/mimalloc/mimalloc/*.h; \
2606+
do \
2607+
echo $(INSTALL_DATA) $$i $(INCLUDEPY)/internal/mimalloc/mimalloc; \
2608+
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; \
2609+
done
25992610
$(INSTALL_DATA) pyconfig.h $(DESTDIR)$(CONFINCLUDEPY)/pyconfig.h
26002611

26012612
# Install the library and miscellaneous stuff needed for extending/embedding

0 commit comments

Comments
 (0)