https://github.com/python/cpython/commit/1504bd671eebce0a99c15c113d219e0f344c03d9
commit: 1504bd671eebce0a99c15c113d219e0f344c03d9
branch: main
author: Ned Deily <[email protected]>
committer: ned-deily <[email protected]>
date: 2026-05-04T07:55:06-04:00
summary:
gh-149351: Avoid possible broken macOS framework install names when DESTDIR is
specified during builds (#149352)
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 3c166470b6c143..5789d33e7f4456 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1071,7 +1071,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]