Switch to unified view

a/src/python/recoll/setup.py.in b/src/python/recoll/setup.py.in
...
...
3
import sys
3
import sys
4
4
5
sysname = os.uname()[0]
5
sysname = os.uname()[0]
6
top = os.path.join('..', '..')
6
top = os.path.join('..', '..')
7
7
8
8
library_dirs = [os.path.join(top, 'lib')]
9
library_dirs = [os.path.join(top, 'lib')]
10
if "CYGWIN" in os.environ:
11
  libraries =  ['recoll', 'xapian', 'iconv', 'z']
12
else:
9
libraries = ['recoll']
13
  libraries = ['recoll']
14
  
10
15
11
if 'libdir' in os.environ and os.environ['libdir'] != "":
16
if 'libdir' in os.environ and os.environ['libdir'] != "":
12
    runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
17
    runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
13
else:
18
else:
14
    runtime_library_dirs = [os.path.join('@prefix@', 'lib', 'recoll')]
19
    runtime_library_dirs = [os.path.join('@prefix@', 'lib', 'recoll')]