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

(cherry picked from commit 1504bd671e)

Co-authored-by: Ned Deily <nad@python.org>
This commit is contained in:
Miss Islington (bot)
2026-05-04 14:10:57 +02:00
committed by GitHub
parent 023ecbd01f
commit 7f9236cf03
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -955,7 +955,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);
@@ -0,0 +1,2 @@
Avoid possible broken macOS framework install names when DESTDIR is
specified during builds.