mirror of https://gitlab.com/ita1024/waf.git
Fixed Fortran module naming scheme (unexpected upper instead of lower).
This commit is contained in:
parent
0233ec9c89
commit
648b10a749
|
@ -29,7 +29,7 @@ def modfile(conf, name):
|
||||||
Defaults to all lower case.
|
Defaults to all lower case.
|
||||||
"""
|
"""
|
||||||
return {'lower' :name.lower() + '.mod',
|
return {'lower' :name.lower() + '.mod',
|
||||||
'lower.MOD' :name.upper() + '.MOD',
|
'lower.MOD' :name.lower() + '.MOD',
|
||||||
'UPPER.mod' :name.upper() + '.mod',
|
'UPPER.mod' :name.upper() + '.mod',
|
||||||
'UPPER' :name.upper() + '.MOD'}[conf.env.FC_MOD_CAPITALIZATION or 'lower']
|
'UPPER' :name.upper() + '.MOD'}[conf.env.FC_MOD_CAPITALIZATION or 'lower']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue