Skip to content

Commit 7f9236c

Browse files
[3.13] gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds (GH-149352) (#149355)
(cherry picked from commit 1504bd6) Co-authored-by: Ned Deily <nad@python.org>
1 parent 023ecbd commit 7f9236c

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
@@ -955,7 +955,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
955955
$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)
956956
$(CC) -o $(LDLIBRARY) $(PY_CORE_LDFLAGS) -dynamiclib \
957957
-all_load $(LIBRARY) \
958-
-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
958+
-install_name $(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
959959
-compatibility_version $(VERSION) \
960960
-current_version $(VERSION) \
961961
-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)