https://github.com/python/cpython/commit/0c89d36af8911da561a0d444b2645d564323ee37
commit: 0c89d36af8911da561a0d444b2645d564323ee37
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: ned-deily <[email protected]>
date: 2026-05-04T12:15:23Z
summary:

[3.14] gh-149351:  Avoid possible broken macOS framework install names when 
DESTDIR is specified during builds (GH-149352) (#149354)

(cherry picked from commit 1504bd671eebce0a99c15c113d219e0f344c03d9)

Co-authored-by: Ned Deily <[email protected]>

files:
A Misc/NEWS.d/next/Build/2026-05-04-06-03-50.gh-issue-149351.hN4sF0.rst
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index 797a6d6cceece0..da6d7c33156abf 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1059,7 +1059,7 @@ 
$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
        $(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)
        $(CC) -o $(LDLIBRARY) $(PY_CORE_LDFLAGS) -dynamiclib \
                -all_load $(LIBRARY) \
-               -install_name 
$(DESTDIR)$(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
+               -install_name 
$(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
                -compatibility_version $(VERSION) \
                -current_version $(VERSION) \
                -framework CoreFoundation $(LIBS);
diff --git 
a/Misc/NEWS.d/next/Build/2026-05-04-06-03-50.gh-issue-149351.hN4sF0.rst 
b/Misc/NEWS.d/next/Build/2026-05-04-06-03-50.gh-issue-149351.hN4sF0.rst
new file mode 100644
index 00000000000000..792c8d394eccb2
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2026-05-04-06-03-50.gh-issue-149351.hN4sF0.rst
@@ -0,0 +1,2 @@
+Avoid possible broken macOS framework install names when DESTDIR is
+specified during builds.

_______________________________________________
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