Fix dlopen on Android
This commit is contained in:
parent
4564de9f9d
commit
7bfb6c0132
@ -77,7 +77,7 @@ if sys.platform == "linux":
|
||||
|
||||
RENAME_EXCHANGE: int = 2
|
||||
try:
|
||||
renameat2 = ctypes.CDLL("", use_errno=True).renameat2
|
||||
renameat2 = ctypes.CDLL(None, use_errno=True).renameat2
|
||||
except AttributeError:
|
||||
pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user