From: cournape Date: Mon, 20 Oct 2008 12:21:09 +0000 (+0000) Subject: Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f2ea0d3897d64f932c90e0025cd48e6acd40e776;p=scons.git Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260). git-svn-id: http://scons.tigris.org/svn/scons/trunk@3711 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/ifort.py b/src/engine/SCons/Tool/ifort.py index fc438f40..deb0ee34 100644 --- a/src/engine/SCons/Tool/ifort.py +++ b/src/engine/SCons/Tool/ifort.py @@ -75,6 +75,9 @@ def generate(env): for var in ['%sCOM' % dialect, '%sPPCOM' % dialect, 'SH%sCOM' % dialect, 'SH%sPPCOM' % dialect]: env[var] = string.replace(env[var], '-o $TARGET', '-object:$TARGET') + env['FORTRANMODDIRPREFIX'] = "/module:" + else: + env['FORTRANMODDIRPREFIX'] = "-module " def exists(env): return env.Detect('ifort')