Switch to side-by-side view
--- a/src/python/recoll/setup.py.in +++ b/src/python/recoll/setup.py.in @@ -3,10 +3,12 @@ import sys sysname = os.uname()[0] -if sysname == 'Linux': +libiconv = "@LIBICONV@" + +if libiconv.find("-liconv") != -1: + libs = ['rcl', 'xapian', 'iconv'] +else: libs = ['rcl', 'xapian'] -else: - libs = ['rcl', 'xapian', 'iconv'] top = os.path.join('..', '..')