Skip to content

Commit

Permalink
pythongh-121467: Fix makefile to include mimalloc headers (python#121469
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cdce8p committed Jul 8, 2024
1 parent c866948 commit 5aa1e60
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 @@ -2652,7 +2652,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 @@ -2673,7 +2673,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 5aa1e60

Please sign in to comment.