Skip to content

Commit

Permalink
pythongh-121467: Fix makefile to include mimalloc headers (pythonGH-1…
Browse files Browse the repository at this point in the history
…21469)

(cherry picked from commit 5aa1e60)

Co-authored-by: Marc Mueller <[email protected]>
  • Loading branch information
cdce8p authored and miss-islington committed Jul 8, 2024
1 parent 2b02431 commit 8a211ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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; \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a Makefile bug that prevented mimalloc header files from being installed.

0 comments on commit 8a211ab

Please sign in to comment.