Skip to content

Commit 0c89d36

Browse files
[3.14] gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds (GH-149352) (#149354)
(cherry picked from commit 1504bd6) Co-authored-by: Ned Deily <nad@python.org>
1 parent 3e25cd9 commit 0c89d36

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
10591059
$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)
10601060
$(CC) -o $(LDLIBRARY) $(PY_CORE_LDFLAGS) -dynamiclib \
10611061
-all_load $(LIBRARY) \
1062-
-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
1062+
-install_name $(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
10631063
-compatibility_version $(VERSION) \
10641064
-current_version $(VERSION) \
10651065
-framework CoreFoundation $(LIBS);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Avoid possible broken macOS framework install names when DESTDIR is
2+
specified during builds.

0 commit comments

Comments
 (0)