aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/015-abort-on-failed-modules.patch
blob: 234ef6c52ab53af1eae8044f2247d79de815ee00 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/setup.py
+++ b/setup.py
@@ -441,6 +441,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[:]