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