Fix dlopen on Android

This commit is contained in:
Unrud 2021-12-25 19:58:29 +01:00
parent 4564de9f9d
commit 7bfb6c0132

View File

@ -77,7 +77,7 @@ if sys.platform == "linux":
RENAME_EXCHANGE: int = 2 RENAME_EXCHANGE: int = 2
try: try:
renameat2 = ctypes.CDLL("", use_errno=True).renameat2 renameat2 = ctypes.CDLL(None, use_errno=True).renameat2
except AttributeError: except AttributeError:
pass pass
else: else: