diff options
author | Stephen M. Webb <stephen.webb@bregmasoft.ca> | 2016-12-15 08:17:34 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2016-12-15 08:17:34 +0100 |
commit | 9416b4b19a5dc376f3b89144c330340f5f8a4a3d (patch) | |
tree | c54cb649094beceb9cef56f0194ccab8e4954aa3 | |
parent | de2a966d65d3e46a8c0c9d8859f2f39469091c34 (diff) |
fix-python-startup-crashHEADarchive/debian/2.6.0-0.1master
Gbp-Pq: Name 0003-fix-python-startup-crash.patch
-rw-r--r-- | python/evemu/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/evemu/base.py b/python/evemu/base.py index 64ec5cd..0a25461 100644 --- a/python/evemu/base.py +++ b/python/evemu/base.py @@ -143,7 +143,7 @@ class LibC(LibraryWrapper): @staticmethod def _cdll(): - return ctypes.CDLL("libc.so.6", use_errno=True) + return ctypes.CDLL(None, use_errno=True) _api_prototypes = { "fdopen": { @@ -169,7 +169,7 @@ class LibEvdev(LibraryWrapper): @staticmethod def _cdll(): - return ctypes.CDLL("libevdev.so", use_errno=True) + return ctypes.CDLL("libevdev.so.2", use_errno=True) _api_prototypes = { #const char *libevdev_event_type_get_name(unsigned int type); @@ -209,7 +209,7 @@ class LibEvemu(LibraryWrapper): Wrapper for API calls to the evemu library. """ - _LIBNAME = "libevemu.so" + _LIBNAME = "libevemu.so.3" @staticmethod def _cdll(): |