Remove dependance on system type name in a few more places

This commit is contained in:
"Jean-Francois Dockes ext:(%22)
2012-04-02 09:52:04 +02:00
parent a1f7c9fc1c
commit f044b20d5a
4 changed files with 130 additions and 155 deletions
+5 -3
View File
@@ -3,10 +3,12 @@ import os
import sys
sysname = os.uname()[0]
if sysname == 'Linux':
libs = ['rcl', 'xapian']
else:
libiconv = "@LIBICONV@"
if libiconv.find("-liconv") != -1:
libs = ['rcl', 'xapian', 'iconv']
else:
libs = ['rcl', 'xapian']
top = os.path.join('..', '..')