From b0954282e98646aa58baea515c362a96e507724e Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Thu, 21 Apr 2016 22:37:27 +0200 Subject: [PATCH] Remove the -DDLL_EXPORT flag which was added by default to fortran link on windows platforms --- waflib/Tools/fc_config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/waflib/Tools/fc_config.py b/waflib/Tools/fc_config.py index bb8e96d9..72f728b0 100644 --- a/waflib/Tools/fc_config.py +++ b/waflib/Tools/fc_config.py @@ -117,8 +117,6 @@ def fortran_modifier_win32(conf): v['FCFLAGS_fcshlib'] = [] - v.append_value('FCFLAGS_fcshlib', ['-DDLL_EXPORT']) # TODO adding nonstandard defines like this DLL_EXPORT is not a good idea - # Auto-import is enabled by default even without this option, # but enabling it explicitly has the nice effect of suppressing the rather boring, debug-level messages # that the linker emits otherwise.