From: Ned Deily Date: Mon, 4 May 2026 11:55:06 +0000 (-0400) Subject: gh-149351: Avoid possible broken macOS framework install names when DESTDIR is speci... X-Git-Tag: v3.15.0b1~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1504bd671eebce0a99c15c113d219e0f344c03d9;p=thirdparty%2FPython%2Fcpython.git gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds (#149352) --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 3c166470b6c1..5789d33e7f44 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 000000000000..792c8d394ecc --- /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.