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
316
316
make install \
317
317
2>&1 | tee -a ../python-$(PYTHON_VERSION ) .install.log
318
318
319
+ # Remove any .orig files produced by the compliance patching process
320
+ find $$(PYTHON_INSTALL-$(target)) -name "*.orig" -exec rm {} \;
321
+
319
322
endif
320
323
321
324
PYTHON_SITECUSTOMIZE-$(target ) =$(PROJECT_DIR ) /support/$(PYTHON_VER ) /$(os ) /platform-site/$(target ) /sitecustomize.py
@@ -549,6 +552,9 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
549
552
# Apply the App Store compliance patch
550
553
patch --strip 2 --directory $$(PYTHON_INSTALL_VERSION-macosx)/lib/python$(PYTHON_VER) --input $(PROJECT_DIR)/patch/Python/app-store-compliance.patch
551
554
555
+ # Remove any .orig files produced by the patching process
556
+ find $$(PYTHON_INSTALL_VERSION-macosx) -name "*.orig" -exec rm {} \;
557
+
552
558
# Rewrite the framework to make it standalone
553
559
patch/make-relocatable.sh $$(PYTHON_INSTALL_VERSION-macosx) 2>&1 > /dev/null
554
560
You can’t perform that action at this time.
0 commit comments