8000 [3.13] gh-121467: Fix makefile to include mimalloc headers (GH-121469… · python/cpython@78437b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78437b7

Browse files
[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 5aa1e60) Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
1 parent 2b02431 commit 78437b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,7 @@ inclinstall:
26502650
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal; \
26512651
else true; \
26522652
fi
2653-
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
2653+
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
26542654
if test ! -d $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; then \
26552655
echo "Creating directory $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc"; \
26562656
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; \
@@ -2671,7 +2671,7 @@ inclinstall:
26712671
echo $(INSTALL_DATA) $$i $(INCLUDEPY)/internal; \
26722672
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal; \
26732673
done
2674-
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
2674+
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
26752675
echo $(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
26762676
$(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
26772677
for i in $(srcdir)/Include/internal/mimalloc/mimalloc/*.h; \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a Makefile bug that prevented mimalloc header files from being installed.

0 commit comments

Comments
 (0)
0