Fixed crc.py to match crc_aarch64.so lib file instead of crc_arm64.so.

This commit is contained in:
Jairo González 2024-10-25 17:30:04 -03:00 committed by GitHub
parent 463c1fc20a
commit 17479a8483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class CRC(Singleton):
if platform.machine()=="x86_64":
self.crc_lib = ctypes.CDLL(script_dir + '/lib/crc_amd64.so')
elif platform.machine()=="aarch64":
self.crc_lib = ctypes.CDLL(script_dir + '/lib/crc_arm64.so')
self.crc_lib = ctypes.CDLL(script_dir + '/lib/crc_aarch64.so')
self.crc_lib.crc32_core.argtypes = (ctypes.POINTER(ctypes.c_uint32), ctypes.c_uint32)
self.crc_lib.crc32_core.restype = ctypes.c_uint32