From f2ea0d3897d64f932c90e0025cd48e6acd40e776 Mon Sep 17 00:00:00 2001 From: cournape Date: Mon, 20 Oct 2008 12:21:09 +0000 Subject: [PATCH] Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260). git-svn-id: http://scons.tigris.org/svn/scons/trunk@3711 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/ifort.py | 3 +++ 1 file changed, 3 insertions(+) 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') -- 2.26.2