@conf
def fortran_modifier_win32(conf):
    """
	Defines Fortran flags for Windows platforms
	"""
    v = conf.env
    v.fcprogram_PATTERN = v.fcprogram_test_PATTERN = '%s.exe'
    v.fcshlib_PATTERN = '%s.dll'
    v.implib_PATTERN = '%s.dll.a'
    v.IMPLIB_ST = '-Wl,--out-implib,%s'
    v.FCFLAGS_fcshlib = []
    v.append_value('LINKFLAGS', ['-Wl,--enable-auto-import'])
