Fixes veclibfort which was broken by PR1875 (#3368)
Funded-by: IDEAS Project: IDEAS/xSDK Thanks-to: Adam J. Stewart
This commit is contained in:
parent
a7bab8a418
commit
00d6cb9a8f
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ class Veclibfort(Package):
|
|||
provides('blas')
|
||||
provides('lapack')
|
||||
|
||||
@property
|
||||
def libs(self):
|
||||
shared = True if '+shared' in self.spec else False
|
||||
return find_libraries(
|
||||
|
@ -60,6 +61,6 @@ def install(self, spec, prefix):
|
|||
# test
|
||||
fc = which('fc')
|
||||
flags = ['-o', 'tester', '-O', 'tester.f90']
|
||||
flags.extend(spec.libs.ld_flags.split())
|
||||
flags.extend(spec['veclibfort'].libs.ld_flags.split())
|
||||
fc(*flags)
|
||||
Executable('./tester')()
|
||||
|
|
Loading…
Reference in a new issue