[Python-modules-commits] [python-xmp-toolkit] 05/08: hardcode-library-name
Daniel Stender
danstender-guest at moszumanska.debian.org
Sat Oct 17 22:38:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository python-xmp-toolkit.
commit a724f0910b945f13998c988887dbbe78935f096f
Author: Jakub Wilk <jwilk at debian.org>
Date: Sun Oct 18 00:34:45 2015 +0200
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'):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-xmp-toolkit.git
More information about the Python-modules-commits
mailing list