Import('hostenv') SConscript('../../build/scons/iconv.py') # tastes like -*- python -*- #conf = Configure( custom_tests = { 'CheckIconv' : CheckIconv }) #(have_iconv,iconv) = conf.CheckIconv() #conf.Finish() #if not have_iconv: # print "Install iconv for better charset compatibility" iconv = [] charset = hostenv.StaticLibrary('charset',['iconv.c','charcnv.c',iconv]) Export('charset')