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
395 B

  1. --- a/lib/Cryptodome/Math/_IntegerGMP.py
  2. +++ b/lib/Cryptodome/Math/_IntegerGMP.py
  3. @@ -92,7 +92,7 @@ gmp_defs = """typedef unsigned long UNIX_ULONG;
  4. int __gmpz_divisible_ui_p (const mpz_t n, UNIX_ULONG d);
  5. """
  6. -lib = load_lib("gmp", gmp_defs)
  7. +lib = load_lib("libgmp.so.10", gmp_defs)
  8. implementation = {"library": "gmp", "api": backend}
  9. if hasattr(lib, "__mpir_version"):