1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Hardcode library name (instead of using ctypes.util.find_library).
Author: Jakub Wilk <jwilk@debian.org>
Forwarded: no
Reviewed-by: Daniel Stender <debian@danielstender.com>
Last-Update: 2014-07-14
--- a/libxmp/exempi.py
+++ b/libxmp/exempi.py
@@ -49,7 +49,7 @@ def _load_exempi():
"""
Loads exempi library.
"""
- path = ctypes.util.find_library('exempi')
+ path = 'libexempi.so.3'
if path is None:
if platform.system().startswith('Darwin'):
if os.path.exists('/opt/local/lib/libexempi.dylib'):
|