Switch to unified view

a/src/python/recoll/setup.py.in b/src/python/recoll/setup.py.in
1
from distutils.core import setup, Extension
1
from distutils.core import setup, Extension
2
import os
2
import os
3
import sys
3
import sys
4
4
5
sysname = os.uname()[0]
5
sysname = os.uname()[0]
6
if sysname == 'Linux':
6
libiconv = "@LIBICONV@"
7
8
if libiconv.find("-liconv") != -1:
9
    libs = ['rcl', 'xapian', 'iconv']
10
else:
7
    libs = ['rcl', 'xapian']
11
    libs = ['rcl', 'xapian']
8
else:
9
    libs = ['rcl', 'xapian', 'iconv']
10
12
11
13
12
top = os.path.join('..', '..')
14
top = os.path.join('..', '..')
13
15
14
# Verify that the Recoll library was compiled with the PIC options
16
# Verify that the Recoll library was compiled with the PIC options