Fix broken swig tests when python being used to run tests is incompatible with system...
[scons.git] / test / SWIG / module-parens.py
index 3dabacf4608c4053e7381cbf9255613479673c84..e30b93e66ba1c84e819737a9f7ed92e9f92c48db 100644 (file)
@@ -50,6 +50,7 @@ if not os.path.exists(Python_h):
 test.write(['SConstruct'], """\
 env = Environment(SWIGFLAGS = '-python -c++',
                   CPPPATH=r"%(python_include_dir)s",
+                  SWIG=r'%(swig)s',
                  FRAMEWORKS='%(python_frameworks_flags)s',
                  )