diff 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
line wrap: on
line diff
--- a/engine/SConscript	Mon Dec 06 21:47:14 2010 +0000
+++ b/engine/SConscript	Sun Jan 23 17:19:00 2011 +0000
@@ -58,10 +58,13 @@
 
 if sys.platform == 'win32':
 	dllpath = upath(opts['DLLPATH'])
-	dllfilelist = list(dllpath.walkfiles('*.dll'))
+	dllfilelist = list()
 	dllfiles = list()
-	for f in dllfilelist:
-		dllfiles.append(utils.relpath(f,opts['DLLPATH'])) 
+	
+	if os.path.isdir(dllpath):
+		dllfilelist = list(dllpath.walkfiles('*.dll'))
+		for f in dllfilelist:
+			dllfiles.append(utils.relpath(f,opts['DLLPATH']))