summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/015-abort-on-failed-modules.patch
blob: bd367a0a7bb0e3488e118066b4a9f34e49d2298b (plain)
1
2
3
4
5
6
7
8
9
10
--- a/setup.py
+++ b/setup.py
@@ -521,6 +521,7 @@ class PyBuildExt(build_ext):
             print("Failed to build these modules:")
             print_three_column(failed)
             print()
+            if CROSS_COMPILING: sys.exit(1)
 
         if self.failed_on_import:
             failed = self.failed_on_import[:]