1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
openwrt-packages/lang/python/python3/patches/015-abort-on-failed-modules.patch

11 lines
322 B
Diff
Raw Normal View History

--- 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[:]