From: Antonio Valentino Date: Fri, 23 Aug 2013 10:19:58 +0000 (+0200) Subject: use dynamic lib X-Git-Tag: archive/raspbian/3.10.2-1+rpi1~1^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=770b1676de8835f2a7254112c91c3d498fb3eed7;p=pytables.git use dynamic lib The setup script detects the static version of the lzo2 library instead of the dynamic version (that is now located in a multi-arch path). This causes a link error due to not relacable code (missing -fPIC flag at compile time) Now the dynamic version of the lzo2 library is located in a multiarch path so sthe setup script Gbp-Pq: Name 0001-use-dynamic-lib.patch --- diff --git a/setup.py b/setup.py index 8ca4675..953d8e1 100755 --- a/setup.py +++ b/setup.py @@ -327,7 +327,7 @@ class BasePackage(object): class PosixPackage(BasePackage): _library_prefixes = ['lib'] - _library_suffixes = ['.so', '.dylib', '.a'] + _library_suffixes = ['.so', '.dylib'] # , '.a'] _runtime_prefixes = _library_prefixes _runtime_suffixes = ['.so', '.dylib'] _component_dirs = ['include', 'lib', 'lib64']