[Pkg-owncloud-commits] [python-owncloud] 10/96: fix issue #3, add /usr/lib64/libocsync.so.0 to the path searched by csynclib
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 22 01:28:22 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository python-owncloud.
commit 165cedd12dd332131178d2df6a0c04543bb878fc
Author: Craig Sawyer <csawyer at yumaed.org>
Date: Sun Mar 10 21:01:46 2013 -0700
fix issue #3, add /usr/lib64/libocsync.so.0 to the path searched by csynclib
---
csynclib.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/csynclib.py b/csynclib.py
index 46a89dc..7383e7a 100644
--- a/csynclib.py
+++ b/csynclib.py
@@ -7,9 +7,12 @@ STRING = c_char_p
_libraries = {}
if os.path.exists('/usr/lib/libocsync.so.0'):
_libraries['/usr/lib/libocsync.so.0'] = CDLL('/usr/lib/libocsync.so.0')
+if os.path.exists('/usr/lib64/libocsync.so.0'):
+ _libraries['/usr/lib/libocsync.so.0'] = CDLL('/usr/lib64/libocsync.so.0')
else:
path = ctypes.util.find_library('libocsync')
if path:
+ print 'found libocsync @', path
_libraries['/usr/lib/libocsync.so.0'] = CDLL(path)
else:
print 'ERROR, can not find shared library libocsync'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/python-owncloud.git
More information about the Pkg-owncloud-commits
mailing list