diff -r 64db8473f3ab -r d0c5de7c5396 SConstruct --- a/SConstruct Mon Jun 18 15:43:12 2012 -0400 +++ b/SConstruct Thu Jun 21 00:33:50 2012 +0100 @@ -580,7 +580,7 @@ Exit(1) # Check for appropriate SWIG version -swig_version = readCommand(('swig', '-version'), exception='').split() +swig_version = readCommand([main['SWIG'], '-version'], exception='').split() # First 3 words should be "SWIG Version x.y.z" if len(swig_version) < 3 or \ swig_version[0] != 'SWIG' or swig_version[1] != 'Version':