diff options
author | David Cournapeau <cournape@gmail.com> | 2008-10-20 12:21:09 (GMT) |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-10-20 12:21:09 (GMT) |
commit | bf9f8ce8a78ebf9d6153b4660988d59def873a83 (patch) | |
tree | 9858b0e1eeba94dd01b59b2ccc654243264428a0 /src/engine/SCons/Tool/ifort.py | |
parent | 23d996062aaf55c78ff8397310eaea20266494e6 (diff) | |
download | SCons-bf9f8ce8a78ebf9d6153b4660988d59def873a83.zip SCons-bf9f8ce8a78ebf9d6153b4660988d59def873a83.tar.gz SCons-bf9f8ce8a78ebf9d6153b4660988d59def873a83.tar.bz2 |
Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260).
Diffstat (limited to 'src/engine/SCons/Tool/ifort.py')
-rw-r--r-- | src/engine/SCons/Tool/ifort.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/ifort.py b/src/engine/SCons/Tool/ifort.py index fc438f4..deb0ee3 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') |