https://github.com/python/cpython/commit/78437b74ada056b9f884923ef7acae2bbbb88577
commit: 78437b74ada056b9f884923ef7acae2bbbb88577
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: hauntsaninja <[email protected]>
date: 2024-07-08T01:10:17Z
summary:

[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 5aa1e60e0cc9c48abdd8d2c03fcc71927cf95204)

Co-authored-by: Marc Mueller <[email protected]>

files:
A Misc/NEWS.d/next/Build/2024-07-08-01-11-54.gh-issue-121467.3qWRQj.rst
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index 0009374a84f07a..28fa8ff3ca5f4a 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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; \
@@ -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; \
diff --git 
a/Misc/NEWS.d/next/Build/2024-07-08-01-11-54.gh-issue-121467.3qWRQj.rst 
b/Misc/NEWS.d/next/Build/2024-07-08-01-11-54.gh-issue-121467.3qWRQj.rst
new file mode 100644
index 00000000000000..a2238475546eaa
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2024-07-08-01-11-54.gh-issue-121467.3qWRQj.rst
@@ -0,0 +1 @@
+Fix a Makefile bug that prevented mimalloc header files from being installed.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to