From: Alex Dehnert Date: Fri, 16 Dec 2011 18:55:29 +0000 (-0500) Subject: Notice libafsauthent_pic.a library in lib64 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/commitdiff_plain/d6425bd9fa52034a2a62ed95c8fec8cbcfd2707d Notice libafsauthent_pic.a library in lib64 If available, we want to build against the _pic variant of the libafsauthent library. On Fedora, that's in lib64, not lib, so we need to pick it up there too. Signed-off-by: Alex Dehnert --- diff --git a/setup.py b/setup.py index 1f28113..4c5c317 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ include_dirs = [os.path.join(os.path.dirname(__file__), 'afs'), '%s/include' % root] library_dirs = ['%s/lib' % root, '%s/lib/afs' % root] -if os.path.exists('%s/lib/libafsauthent_pic.a' % root): +if os.path.exists('%s/lib/libafsauthent_pic.a' % root) or os.path.exists('%s/lib64/libafsauthent_pic.a' % root): suffix = '_pic' else: suffix = ''