summaryrefslogtreecommitdiffstats
path: root/test/Java
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java')
-rw-r--r--test/Java/multi-step.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Java/multi-step.py b/test/Java/multi-step.py
index 33e2a5f..2e2ff56 100644
--- a/test/Java/multi-step.py
+++ b/test/Java/multi-step.py
@@ -72,7 +72,14 @@ test.subdir(['src'],
test.write(['SConstruct'], """\
import os,sys
-env=Environment(tools = ['default', 'javac', 'javah', 'swig'],
+
+if sys.platform == 'win32':
+ # Ensure tests don't pick up link from mingw or cygwin
+ tools = ['msvc', 'mslink', 'jar', 'javac', 'javah', 'swig']
+else:
+ tools = ['default', 'javac', 'javah', 'swig']
+
+env=Environment(tools = tools,
CPPPATH=["$JAVAINCLUDES"])
Export('env')
env.PrependENVPath('PATH',os.environ.get('PATH',[]))