File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,9 @@ $$(PYTHON_LIB-$(target)): $$(PYTHON_SRCDIR-$(target))/python.exe
316316 make install \
317317 2>&1 | tee -a ../python-$(PYTHON_VERSION ) .install.log
318318
319+ # Remove any .orig files produced by the compliance patching process
320+ find $$(PYTHON_INSTALL-$(target)) -name "*.orig" -exec rm {} \;
321+
319322endif
320323
321324PYTHON_SITECUSTOMIZE-$(target ) =$(PROJECT_DIR ) /support/$(PYTHON_VER ) /$(os ) /platform-site/$(target ) /sitecustomize.py
@@ -549,6 +552,9 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
549552 # Apply the App Store compliance patch
550553 patch --strip 2 --directory $$(PYTHON_INSTALL_VERSION-macosx)/lib/python$(PYTHON_VER) --input $(PROJECT_DIR)/patch/Python/app-store-compliance.patch
551554
555+ # Remove any .orig files produced by the patching process
556+ find $$(PYTHON_INSTALL_VERSION-macosx) -name "*.orig" -exec rm {} \;
557+
552558 # Rewrite the framework to make it standalone
553559 patch/make-relocatable.sh $$(PYTHON_INSTALL_VERSION-macosx) 2>&1 > /dev/null
554560
You can’t perform that action at this time.
0 commit comments