diff build/win32-config.py @ 394:5bb52a43f48b

Fixed a small issue when building with scons on windows. If you have another version of mingw in PATH it would use that one instead. Also updated the a couple SWIG interfaces to handle simple output parameters as described in ticket 340.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 26 Jan 2010 16:53:51 +0000
parents 847c6ec4544e
children 81641655bc38
line wrap: on
line diff
--- a/build/win32-config.py	Sun Jan 24 16:52:40 2010 +0000
+++ b/build/win32-config.py	Tue Jan 26 16:53:51 2010 +0000
@@ -10,8 +10,8 @@
 	swigdir = os.path.join(path, 'build', 'win32', 'applications', 'swigwin-1.3.40')
 	mingwbindir = os.path.join(path, 'build', 'win32', 'applications', 'mingw', 'bin')
 	
-	env.AppendENVPath('PATH', swigdir)
-	env.AppendENVPath('PATH', mingwbindir)
+	env.PrependENVPath('PATH', swigdir)
+	env.PrependENVPath('PATH', mingwbindir)
 	
 	includepath = os.path.join(path, 'build', 'win32', 'includes')
 	staticlibpath = os.path.join(path, 'build', 'win32', 'static_libs', 'mingw')