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.

10 lines
322 B

  1. --- a/setup.py
  2. +++ b/setup.py
  3. @@ -359,6 +359,7 @@ class PyBuildExt(build_ext):
  4. print("Failed to build these modules:")
  5. print_three_column(failed)
  6. print()
  7. + if cross_compiling: sys.exit(1)
  8. if self.failed_on_import:
  9. failed = self.failed_on_import[:]