Skip to content

Commit 5aa1e60

Browse files
authored
gh-121467: Fix makefile to include mimalloc headers (#121469)
1 parent c866948 commit 5aa1e60

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
@@ -2652,7 +2652,7 @@ inclinstall:
26522652
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal; \
26532653
else true; \
26542654
fi
2655-
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
2655+
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
26562656
if test ! -d $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; then \
26572657
echo "Creating directory $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc"; \
26582658
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc; \
@@ -2673,7 +2673,7 @@ inclinstall:
26732673
echo $(INSTALL_DATA) $$i $(INCLUDEPY)/internal; \
26742674
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/internal; \
26752675
done
2676-
@if test "$(INSTALL_MIMALLOC)" == "yes"; then \
2676+
@if test "$(INSTALL_MIMALLOC)" = "yes"; then \
26772677
echo $(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
26782678
$(INSTALL_DATA) $(srcdir)/Include/internal/mimalloc/mimalloc.h $(DESTDIR)$(INCLUDEPY)/internal/mimalloc/mimalloc.h; \
26792679
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)