slight change in __init__.py to fix *.a bug
This commit is contained in:
@ -10,6 +10,7 @@ try:
|
||||
except OSError as e:
|
||||
if pylib.endswith(".a"):
|
||||
pylib.strip(".a") + ".so"
|
||||
pylib = ctypes.CDLL(library)
|
||||
else:
|
||||
raise e
|
||||
if not pylib.Py_IsInitialized():
|
||||
|
||||
Reference in New Issue
Block a user