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.

11 lines
415 B

  1. --- a/setup.py
  2. +++ b/setup.py
  3. @@ -859,7 +859,7 @@ class PyBuildExt(build_ext):
  4. min_openssl_ver = 0x00907000
  5. have_any_openssl = ssl_incs is not None and ssl_libs is not None
  6. - have_usable_openssl = (have_any_openssl and
  7. + have_usable_openssl = cross_compiling and (have_any_openssl and
  8. openssl_ver >= min_openssl_ver)
  9. if have_any_openssl: