Switch to side-by-side view
--- a/src/python/recoll/setup.py.in +++ b/src/python/recoll/setup.py.in @@ -7,7 +7,11 @@ library_dirs = [os.path.join(top, 'lib')] libraries = ['recoll'] -runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')] +runtime_library_dirs = [] +try: + runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')] +except: + pass # Verify that the Recoll library was compiled with the PIC options localdefs = os.path.join(top, 'mk', 'localdefs')