comparison engine/SConscript @ 688:ae479ce3f762

Win32 build system: * Fixed a build error on updating project files. This was caused by not installing the mingw part in the devkit installer. * Updated some references to python26 to python27
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 23 Jan 2011 17:19:00 +0000
parents a21915a97237
children
comparison
equal deleted inserted replaced
687:55c1baa3cb48 688:ae479ce3f762
56 intfiles = utils.filter_by_dir(['swigwrappers'], swigfiles) 56 intfiles = utils.filter_by_dir(['swigwrappers'], swigfiles)
57 compilefiles = utils.filter_by_dir(['swigwrappers'], implfiles) 57 compilefiles = utils.filter_by_dir(['swigwrappers'], implfiles)
58 58
59 if sys.platform == 'win32': 59 if sys.platform == 'win32':
60 dllpath = upath(opts['DLLPATH']) 60 dllpath = upath(opts['DLLPATH'])
61 dllfilelist = list(dllpath.walkfiles('*.dll')) 61 dllfilelist = list()
62 dllfiles = list() 62 dllfiles = list()
63 for f in dllfilelist: 63
64 dllfiles.append(utils.relpath(f,opts['DLLPATH'])) 64 if os.path.isdir(dllpath):
65 dllfilelist = list(dllpath.walkfiles('*.dll'))
66 for f in dllfilelist:
67 dllfiles.append(utils.relpath(f,opts['DLLPATH']))
65 68
66 69
67 70
68 71
69 72