1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From a724f0910b945f13998c988887dbbe78935f096f Mon Sep 17 00:00:00 2001
From: Jakub Wilk <jwilk@debian.org>
Date: Sun, 18 Oct 2015 00:34:45 +0200
Subject: hardcode-library-name
Hardcode library name (instead of using ctypes.util.find_library).
Forwarded: no
---
libxmp/exempi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libxmp/exempi.py b/libxmp/exempi.py
index 683e240..5252841 100644
--- 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'):
|