commit 2e2273d2fa4e9c34fbfc07d075ec8299a941682d Author: Pete Zaitcev Date: Thu Jun 24 14:30:32 2021 -0500 DNM Drop explicit /usr/lib When building Fedora RPM, the newest checkers complain that the library contains an explicit RPATH of "/usr/lib". Looking at the code, isn't it silly to have a path of sys.prefix? It could make sense when prefix was /usr/local, but we supported that one through some explicit checking, now removed. WIP: let's see if we can make PyECLib installed in /usr/local without screwing with explicit arguments to the Extension class. Related-To: rhbz#1967534 Change-Id: I7c3eb54c72b3a3b02490a3ad4df78276593e1890 diff --git a/setup.py b/setup.py index cf7e40b..5b54845 100644 --- a/setup.py +++ b/setup.py @@ -218,8 +218,6 @@ module = Extension('pyeclib_c', '%s/include/liberasurecode' % sys.prefix, '%s/include' % sys.prefix], libraries=['erasurecode'], - library_dirs=['%s/lib' % sys.prefix], - runtime_library_dirs=['%s/lib' % sys.prefix], # The extra arguments are for debugging # extra_compile_args=['-g', '-O0'], sources=['src/c/pyeclib_c/pyeclib_c.c'])