diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/matio/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/matio/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/matio/package.py b/var/spack/repos/builtin/packages/matio/package.py index 08eb23771d..5107058d58 100644 --- a/var/spack/repos/builtin/packages/matio/package.py +++ b/var/spack/repos/builtin/packages/matio/package.py @@ -47,3 +47,11 @@ class Matio(AutotoolsPackage): if '+shared' not in self.spec: args.append("--disable-shared") return args + + def patch(self): + if self.spec.satisfies('%nvhpc'): + # workaround anonymous version tag linker error for the NVIDIA + # compilers + filter_file('${wl}-version-script ' + '${wl}$output_objdir/$libname.ver', '', + 'configure', string=True) |