2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Import libraries for Intel Fortran

This commit is contained in:
Thomas Nagy 2016-01-20 00:12:42 +01:00
parent 872f77f8b5
commit aac6e800eb
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
3 changed files with 5 additions and 0 deletions

2
demos/fortran/foo.def Normal file
View File

@ -0,0 +1,2 @@
EXPORTS
FOO

View File

@ -44,6 +44,7 @@ def build(bld):
features = 'fc fcshlib',
source = 'foo.f',
target = 'shlib1',
defs = 'foo.def',
vnum = '2.3.9')
bld(

View File

@ -33,7 +33,9 @@ def ifort_modifier_win32(self):
v.FCLNK_TGT_F = '/out:'
v.FC_TGT_F = ['/c', '/o', '']
v.FCFLAGS_fcshlib = ''
v.LINKFLAGS_fcshlib = '/DLL'
v.AR_TGT_F = '/out:'
v.IMPLIB_ST = '/IMPLIB:%s'
v.append_value('LINKFLAGS', '/subsystem:console')
if v.IFORT_MANIFEST: