You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
385 B

  1. diff --git a/setup.py b/setup.py
  2. index da67731..928e0de 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -293,6 +293,7 @@ class PyBuildExt(build_ext):
  6. print("Failed to build these modules:")
  7. print_three_column(failed)
  8. print()
  9. + if cross_compiling: sys.exit(1)
  10. if self.failed_on_import:
  11. failed = self.failed_on_import[:]