0
0
mirror of https://github.com/openwrt/packages.git synced 2025-08-07 17:01:45 +00:00
Files
packages/lang/python/python-cryptodomex/patches/001-fix-libgmp-loading.patch
Jeffery To a1b3595550 python-cryptodomex: Update to 3.18.0, refresh patches
This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:09:42 +08:00

12 lines
389 B
Diff

--- a/lib/Cryptodome/Math/_IntegerGMP.py
+++ b/lib/Cryptodome/Math/_IntegerGMP.py
@@ -97,7 +97,7 @@ gmp_defs = """typedef unsigned long UNIX
if sys.platform == "win32":
raise ImportError("Not using GMP on Windows")
-lib = load_lib("gmp", gmp_defs)
+lib = load_lib("libgmp.so.10", gmp_defs)
implementation = {"library": "gmp", "api": backend}
if hasattr(lib, "__mpir_version"):