Skip to content

Commit 1504bd6

Browse files
authored
gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds (#149352)
1 parent 7b7fa3f commit 1504bd6

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
@@ -1071,7 +1071,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
10711071
$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)
10721072
$(CC) -o $(LDLIBRARY) $(PY_CORE_LDFLAGS) -dynamiclib \
10731073
-all_load $(LIBRARY) \
1074-
-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
1074+
-install_name $(PYTHONFRAMEWORKINSTALLNAMEPREFIX)/$(PYTHONFRAMEWORK) \
10751075
-compatibility_version $(VERSION) \
10761076
-current_version $(VERSION) \
10771077
-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)