Set IncludeSearchPath and PreprocessorDefinitions in the generation
[scons.git] / test / Fortran / link-with-cxx.py
index a29558e5e6c557359821e0293c5ef6465c0be97b..8d05c5ca06ac7ae40020a0a71060aa612fa12414 100644 (file)
@@ -70,7 +70,8 @@ def copier(target, source, env):
     s = str(source[0])
     t = str(target[0])
     open(t, 'wb').write(open(s, 'rb').read())
-env = Environment(CXX = r'%(_python_)s test_linker.py',
+env = Environment(tools = ['gcc', 'gnulink', 'fortran'],
+                  CXX = r'%(_python_)s test_linker.py',
                   CXXCOM = Action(copier),
                   SMARTLINK = SCons.Tool.link.smart_link,
                   LINK = r'$SMARTLINK',